📄 changelog
字号:
2003-12-02 Sandeep <sandeep@codito.com>
* src/mqueue.cxx (new): define a placement new instead of using <new>
2003-11-19 Rickard Westman <rickard.westman@27m.se>
* src/mqueue.cxx: Fix problem with mq_timedsend() and
mq_timedreceive() timing out with zero timeouts even when there is
room in the queue.
2003-11-17 Dan Jakubiec <djakubiec@yahoo.com>
* src/pthread.cxx (pthread_exit): Added code to disable cancellation
requests during thread exit. This allows thread cleanup handlers
to issue system calls when cleaning up thread resources.
2003-06-18 Jonathan Larmour <jifl@eCosCentric.com>
* src/pthread.cxx (pthread_self_info): Just add some comments so
no-one's tempted to uncomment assert.
(pthread_create): Verify that self is a valid POSIX thread when
needed.
2003-03-20 Mark Salter <msalter@redhat.com>
* include/pthread.h: Avoid conflict with recently introduced gcc
__thread keyword.
2003-03-13 Bart Veer <bartv@ecoscentric.com>
* include/export.h: Only export signal-related functions if
CYGPKG_POSIX_SIGNALS is enabled.
2003-03-04 Gary Thomas <gary@mlbassoc.com>
* include/pthread.h: Rework prototypes to minimize namespace problems.
2003-03-03 Jonathan Larmour <jifl@eCosCentric.com>
* tests/signal2.c (cause_illegal_access): PowerPC only generates
alignment exceptions in little-endian mode, so make that a special
case.
* tests/mutex3.c: Include POSIX headers before feature tests to
prevent spurious CYG_TEST_NA.
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
* doc/posix.sgml: Expunge EL/IX. Dead standard.
* cdl/posix.cdl: Add doc link.
2003-02-13 Jonathan Larmour <jifl@eCosCentric.com>
* src/mutex.cxx: Include sched.hxx for scheduler lock/unlock primitives.
Reported by Jani Monoses.
2003-02-10 Gary Thomas <gary@mlbassoc.com>
* tests/signal3.c (main): Reorg code so it builds with older GCC.
2003-01-31 Nick Garnett <nickg@calivar.com>
* src/time.cxx (alarm_action): Added call to
cyg_posix_signal_sigwait() to wake up any sigwait()ing threads.
* src/signal.cxx (cyg_posix_signal_sigwait): Added this function
to export access to signal_sigwait conditional variable.
(sigtimedwait): Added call to cyg_posix_timer_asr() to allow timer
signals to be delivered here.
* src/pprivate.h: Added prototype for cyg_posix_signal_sigwait().
* cdl/posix.cdl:
* tests/signal3.c: Added this program to test interaction of
timers and signals, particularly sigwait(). Based on a test
program from N.Suresh <nsuresh@cdotb.ernet.in>.
2003-01-20 Jonathan Larmour <jifl@eCosCentric.com>
* src/signal.cxx (cyg_posix_deliver_signals): silence warning.
* src/time.cxx (cyg_timespec_to_ticks): Remove use of default arg in
definition.
2003-01-18 Jonathan Larmour <jifl@eCosCentric.com>
* src/mqueue.cxx: Fix multi-line string literal warning.
2003-01-13 Jonathan Larmour <jifl@eCosCentric.com>
* doc/posix.sgml: Document them.
* src/mqueue.cxx (mq_timedreceive): Make fully compliant by dealing
with bogus timeouts.
(mq_timedsend): Ditto.
2003-01-13 Dmitriy Korovkin <dkorovkin@rambler.ru>
* src/mqueue.cxx (mq_timedsend): New function. Implementing POSIX
1003.1d draft definition.
(mq_timedreceive): Ditto.
2002-12-10 Wade Jensen <waj4news@cox.net>
2002-12-10 Jonathan Larmour <jifl@eCosCentric.com>
* src/mutex.cxx (pthread_cond_timedwait): Initialize clock converters
only once ever.
2002-11-26 Nick Garnett <nickg@ecoscentric.com>
* src/signal.cxx: Changed the three routines added in the last
change so that they can be called safely from non-POSIX threads.
2002-11-10 Nick Garnett <nickg@ecoscentric.com>
* src/signal.cxx: Added three exportable routines that may be used
by other packages to manipulate the signal mask, test for
deliverable signals, and have signals delivered at controlled
points.
* include/export.h: Added macros to export signal mask management,
detection and delivery to other packages.
2002-11-05 Jonathan Larmour <jifl@eCosCentric.com>
* tests/tm_basic.cxx: Use <cyg/infra/diag.h> for diag_printf
prototype.
2002-05-23 Jesper Skov <jskov@redhat.com>
* cdl/posix.cdl: Don't build tests using signals when posix
signals are disabled.
2002-05-21 Jesper Skov <jskov@redhat.com>
* tests/mutex3.c: Added an NA check.
2002-04-09 Jonathan Larmour <jlarmour@redhat.com>
* src/signal.cxx (cyg_deliver_signals): Don't assert here for an
unhandled signal (unless there's no _exit). Trace it though.
2002-04-08 Jonathan Larmour <jlarmour@redhat.com>
* src/sem.cxx (sem_getvalue): return 0, and put value in *sval.
2002-04-03 Jonathan Larmour <jlarmour@redhat.com>
* cdl/posix.cdl: Allow clocks to be configured again.
2002-03-05 Jesper Skov <jskov@redhat.com>
* src/pprivate.h: Correct conditional declaration of timespec
functions.
* src/sched.cxx (sched_rr_get_interval): Return ENOSYS when
CYGPKG_POSIX_CLOCKS disabled.
2002-02-27 Robin Farine <robin.farine@terminus.org>
* src/pthread.cxx (pthread_exit): While running thread static
storage destructors, set the thread's value associated with the
current key to NULL before invoking the destructor.
2002-02-14 Nick Garnett <nickg@redhat.com>
* doc/posix.sgml: Generally fixed up and reformatted to make this
file readable by mere humans. Some omissions and outdated
information fixed, but not substantially changed from the
original.
* cdl/posix.cdl: Changed some definitions and dependencies so that
disabling the timers does not disable threads too. This was
largely a consequence of trying to document the behaviour of these
options.
2002-02-14 Jonathan Larmour <jlarmour@redhat.com>
* doc/posix.sgml: New file, originally accompanied by this ChangeLog:
2001-12-22 Jonathan Larmour <jlarmour@redhat.com>
* ecos-elix.sgml: Do a minor cleanup of the function prototype
layouts.
Should be done better than this, but this is at least not
_completely_ wrong any more.
Also several more layout problems due to incorrect tags fixed.
2001-12-07 Jonathan Larmour <jlarmour@redhat.com>
* ecos-elix.sgml: Add getcwd as supported now.
2001-12-06 Jonathan Larmour <jlarmour@redhat.com>
* ecos-elix.sgml: Created from old framemaker version.
2002-01-21 Jonathan Larmour <jlarmour@redhat.com>
* src/sched.cxx (sched_get_priority_min): Don't allow idle thread
priority as a valid priority.
Case #106952.
2001-12-11 Nick Garnett <nickg@redhat.com>
* tests/mqueue2.c (cyg_user_start): Added CYG_TEST_INIT() to
NOTAPPLICABLE variant, otherwise the order of breakpoints are all
wrong and the testfarm registers a failure.
2001-11-06 Gary Thomas <gthomas@redhat.com>
* include/muttypes.h: Need <pkgconf/kernel.h> configuration info,
otherwise structures defined here could have the wrong size.
2001-10-25 I-Jui Sung <ijsung@csie.nctu.edu.tw>
* src/mqueue.cxx (do_mq_unlink): Nullify table entries' mq as this
is used by mq_open to see if the entry is used.
2001-10-11 Jesper Skov <jskov@redhat.com>
* tests/mutex3.c: Fixed warning.
(new_thread): Fixed allocation: increase counter
before starting threads which have been allocated resources.
* tests/signal2.c (cause_illegal_access): Fix warning.
2001-10-10 Jesper Skov <jskov@redhat.com>
* cdl/posix.cdl: Only build sem.cxx when the semaphores component
is enabled.
2001-10-09 Jonathan Larmour <jlarmour@redhat.com>
* src/pprivate.h (pthread_info): Conditionalize signal specific
members. Conditionalize declaration of
cyg_posix_pthread_release_thread().
* cdl/posix.cdl (CYGPKG_POSIX_CLOCKS): new option to separately
configure posix clocks from timers.
(CYGPKG_POSIX_TIMERS): require clocks and signals.
* include/time.h: Make proper ISO C. Conditionalize on
CYGPKG_POSIX_TIMERS correctly wrt the above change.
* src/pthread.cxx (posix_asr): Call signal and timer subsystems
conditionally.
* src/pthread.cxx (pthread_reap): Don't destroy signal handling
fields if there is no signal handling subsystem.
(cyg_posix_pthread_release_thread): Conditionalize on signals.
(pthread_create): Init signal subsys conditionally.
* src/signal.cxx (sleep): Move to...
* src/time.cxx: ...here.
Conditionalize throughout depending on whether it's POSIX clocks
or more specifically POSIX timers.
(nanosleep): Use PTHREAD_TESTCANCEL() not pthread_testcancel().
Get current thread from kernel not pthreads to remove pthread
dependency.
2001-10-09 Jesper Skov <jskov@redhat.com>
* tests/signal2.c: Also do NA check for signals.
2001-10-01 Jonathan Larmour <jlarmour@redhat.com>
* src/mqueue.cxx (mq_open): Conditionalize use of sigev correctly.
(mq_close): Similarly.
2001-09-28 Jonathan Larmour <jlarmour@redhat.com>
* cdl/pthread.cdl (CYGNUM_POSIX_MAIN_DEFAULT_PRIORITY): Clarify
POSIX thread priority description.
2001-09-28 Jesper Skov <jskov@redhat.com>
* cdl/pthread.cdl: Changed default priority of POSIX main to
16. This allows service threads (such as DHCP thread) to run when
started from main().
2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
* include/pthread.h: Separate mutex and condvar API into separate
header file to fix configury problems.
* include/mutex.h: New file for the above.
* cdl/posix.cdl: provide the correct configury for the isoinfra
package to include the above file.
* cdl/pthread.cdl: Move _POSIX_PTHREAD_PRIO_INHERIT and
_POSIX_THREAD_PRIO_PROTECT to cdl/posix.cdl.
2001-09-07 Jonathan Larmour <jlarmour@redhat.com>
* src/sem.cxx (sem_trywait): Actually use the return value.
* src/sched.cxx (sched_get_priority_max): Use MAX not MIN
(sched_get_priority_min): Use MIN not MAX.
2001-09-06 Jesper Skov <jskov@redhat.com>
* cdl/posix.cdl: Moved signal implements statements to the
CYGPKG_POSIX_SIGNALS component.
2001-08-06 Jonathan Larmour <jlarmour@redhat.com>
* cdl/posix.cdl: Reorganize dependencies so that signals, timers
and pthreads really can be disabled, and the relevant files don't
get built.
Build new mutex.cxx file.
Remove duplicate CYGPKG_POSIX_SCHED dependency for pthreads.
* include/limits.h: Don't include irrelevant header dependencies.
* include/muttypes.h: New type defining mutex/cond var types separately
from other pthread types.
* include/types.h: Remove mutex/cond var types.
* include/signal.h: Conditionalize on CYGPKG_POSIX_SIGNALS
* include/sigsetjmp.h: Don't include irrelevant header dependencies.
Rewrite sigsetjmp in a much more compiler friendly (and readable)
way with less type punning.
* src/misc.cxx: Don't include sysconf cases when pthreads or
CYGPKG_POSIX_TIMERS not enabled.
* src/mutex.cxx: New file, broken out of pthreads.cxx, as most
of it is not fixed to the pthreads implementation, and I've fixed
the bits that were too tied to it.
* src/pprivate.h: Conditionalize definitions that are specific
to CYGPKG_POSIX_PTHREAD. Ditto for prototypes for CYGPKG_POSIX_SIGNALS
and CYGPKG_POSIX_TIMERS. Move PTHREAD_ENTRY/RETURN etc. macros
here so they can be used throughout the package.
* src/pthread.cxx: Remove mutex/cond var implementation, and
entry/return macros, as per above.
* src/signal.cxx (cyg_sigqueue): Don't just set non-queueable signals
pending - also forcibly wake up any blocked threads.
(siglongjmp): Use new layout of sigjmp_buf.
* tests/mutex3.c:
* tests/pthread1.c:
* tests/pthread2.c:
* tests/pthread3.c:
* tests/signal1.c:
* tests/sigsetjmp.c:
* tests/timer1.c:
* tests/tm_basic.cxx:
Correct configuration dependencies, and do NA appropriately.
2001-08-03 Nick Garnett <nickg@cygnus.co.uk>
Imported from a development branch:
2001-06-27 Nick Garnett <nickg@cygnus.co.uk>
* tests/pthread3.c:
Modified the loop that waits for the threads to get going so that
it will function correctly in an SMP system, where the threads
will run in parallel.
* tests/mutex3.c: Disabled this test for SMP systems. It depends
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -