comparison packages/kernel/current/ChangeLog @ 460:a65a4055f146

* src/common/kapi.cxx: * include/kapi.h: Added function cyg_thread_get_next(), cyg_thread_find() and cyg_thread_get_info() to allow the current set of threads to be enumerated, and per-thread information to be retrieved safely. * doc/kernel.sgml: Documented new KAPI calls. * src/common/thread.cxx: Zero unique_id in thread destructor so that a stale thread pointer can be checked for validity. * include/instrmnt.h: Added cyg_instrument_state() to report the current state of an instrumentation flag. Moved ifdef for CYGDBG_KERNEL_INSTRUMENT_MSGS out of within FLAGS ifdef. We can have messages without flags. * src/instrmnt/meminst.cxx: Added cyg_instrument_state() to report the current state of an instrumentation flag. Modified cyg_instrument_msg() in line with header and table changes. * host/instr/dump_instr.c: * host/instr/instrument.sh: * include/instrument_desc.h: Added a final NULL element to the generated table in instrument_desc.h to mark its end. Otherwise code that does not have access to the table definition cannot find its end. Also added ifdefs to allow instrument_desc.h to be used to acquire the structure definition and table pointer.
author nickg
date Thu, 12 Dec 2002 18:31:34 +0000
parents 4bfb0d444b05
children 658c231c7e71
comparison
equal deleted inserted replaced
459:a6cede66ea36 460:a65a4055f146
1 2002-12-12 Nick Garnett <nickg@ecoscentric.com>
2
3 * src/common/kapi.cxx:
4 * include/kapi.h:
5 Added function cyg_thread_get_next(), cyg_thread_find() and
6 cyg_thread_get_info() to allow the current set of threads to be
7 enumerated, and per-thread information to be retrieved safely.
8
9 * doc/kernel.sgml: Documented new KAPI calls.
10
11 * src/common/thread.cxx: Zero unique_id in thread destructor so
12 that a stale thread pointer can be checked for validity.
13
14 * include/instrmnt.h:
15 Added cyg_instrument_state() to report the current state of an
16 instrumentation flag.
17 Moved ifdef for CYGDBG_KERNEL_INSTRUMENT_MSGS out of within FLAGS
18 ifdef. We can have messages without flags.
19
20 * src/instrmnt/meminst.cxx:
21 Added cyg_instrument_state() to report the current state of an
22 instrumentation flag.
23 Modified cyg_instrument_msg() in line with header and table
24 changes.
25
26 * host/instr/dump_instr.c:
27 * host/instr/instrument.sh:
28 * include/instrument_desc.h:
29 Added a final NULL element to the generated table in
30 instrument_desc.h to mark its end. Otherwise code that does not
31 have access to the table definition cannot find its end. Also
32 added ifdefs to allow instrument_desc.h to be used to acquire the
33 structure definition and table pointer.
34
1 2002-12-03 Gary Thomas <gthomas@ecoscentric.com> 35 2002-12-03 Gary Thomas <gthomas@ecoscentric.com>
2 36
3 * tests/tm_basic.cxx: Add tests of 'flag' synchronizers. 37 * tests/tm_basic.cxx: Add tests of 'flag' synchronizers.
4 38
5 2002-10-28 Andrew Lunn <andrew.lunn@ascom.ch> 39 2002-10-28 Andrew Lunn <andrew.lunn@ascom.ch>