comparison packages/kernel/current/ChangeLog @ 8:ece80412419a ecos-sw-1999-05-21

Merge from eCos master repository on 1999-05-21-22:05:54-BST
author jlarmour
date Fri, 21 May 1999 15:09:30 +0000
parents d376b777e2ce
children d3fbcdfa1b2f
comparison
equal deleted inserted replaced
7:e55593b6dcea 8:ece80412419a
1 1999-05-20 Hugo Tyson <hmt@cygnus.co.uk>
2
3 * tests/tm_basic.cxx (run_all_tests): Added some more stack stats
4 output using stackmon.hxx; also fixed a BUG associated with the
5 definition of stacks in testaux.hxx (within tests dir) that was
6 making the main stack usage bogus.
7
8 * include/stackmon.hxx: new file, to ease printing stuff about
9 stack usage, particularly of interrupt stacks and the idle
10 thread. It's not HAL specific, and it can apply to tests outside
11 of the kernel, which is why it's in a public include-place.
12 It just contains inline functions which define empty if there's no
13 handle on the symbols available, so should be safe enough.
14
15 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
16
17 * tests/stress_threads.c (main_program): Changed behavior of
18 cyg_thread_delete caller.
19
20 1999-05-18 Hugo Tyson <hmt@cygnus.co.uk>
21
22 * include/kapi.h (cyg_thread_delete): is now a boolean function to
23 indicate success. Failure is when the thread needs to run in
24 order to become killed.
25
26 * src/common/kapi.cxx (cyg_thread_delete): Try killing the thread
27 if necessary before deleting; only run the destructor if it was
28 killed, and tell the caller so.
29 (cyg_thread_kill): Back to the simpler version with no priority
30 diddling; it's up to the called to determine that it _has_ died.
31
32 * src/common/thread.cxx (kill): Only perform the state-changes
33 implied by kill if the thread has not already been killed;
34 otherwise two kill()'s will remove a thread unconditionally,
35 whether it's in the middle of a wait that needs tidying up or not.
36 In other words, ensure idempotency.
37
38 1999-05-17 Hugo Tyson <hmt@masala.cygnus.co.uk>
39
40 * src/common/kapi.cxx (cyg_thread_kill): Up the priority of the
41 killee to make it terminate *now* if we have priorities and they
42 are not unique, otherwise asserts are likely with the bitmap
43 scheduler. Likewise in thread delete. Condition out the bodies
44 of the priority ops if the scheduler does not support priorities.
45
46 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
47
48 * src/intr/intr.cxx (call_pending_DSRs):
49 * include/intr.hxx: Change mechanism for defining HAL function
50 to run DSRs. This was a "weak" symbol with override, but is now
51 a macro in <cyg/hal/hal_intr.h>.
52
1 1999-05-13 Nick Garnett <nickg@cygnus.co.uk> 53 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
2 54
3 The following changes were all made in a branch and are now being 55 The following changes were all made in a branch and are now being
4 merged: 56 merged:
5 57