OSSP CVS Repository |
|
Date | Version | Description |
---|---|---|
1.648 | Check-in [5677]: Adjusted all copyright messages for new year 2007. By rse. (diff) | |
1.647 | Check-in [5420]: ops, next will be 2.0.8 By rse. (diff) | |
1.646 | Check-in [5419]: Added LaTeX sources of USENIX paper (rse-pmt.tex, rse-pmt.fig) to source tree and add Makefile targets for re-generating outputs (rse-pmt.ps, rse-pmt.pdf). This way all GNU Pth related material is finally part of the same distribution. By rse. (diff) | |
1.645 | Check-in [5406]: Upgraded build environment from GNU shtool 2.0.3 to 2.0.6 and from GNU libtool 1.5.20 to 1.5.22. By rse. (diff) | |
1.644 | Check-in [5405]: Adjusted all copyright messages for new year 2006 By rse. (diff) | |
1.643 | Check-in [5404]: Let AC_CHECK_PTH use "pth-config --libs --all" instead of just "pth-config --libs" to allow it to work under platforms like Solaris where additional libraries are required. By rse. (diff) | |
1.642 | Check-in [5309]: bump before release By rse. (diff) | |
1.641 | Check-in
[5308]:
Add a missing "break" in pth_attr.c:pth_attr_ctrl().
Submitted by: Stefan Schippers <stefan@schippers.it> By rse. (diff) | |
1.640 | Check-in
[5273]:
Return an error if pth_kill() is called before pth_init().
Submitted by: Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com> By rse. (diff) | |
1.639 | Check-in [5250]: bump version before release By rse. (diff) | |
1.638 | Check-in [5191]: Upgraded build environment to GNU libtool 1.5.20 and GNU shtool 2.0.3 By rse. (diff) | |
1.637 | Check-in [5030]: Fix internal determination of maximum number in a size_t in the string formatter engine. By rse. (diff) | |
1.636 | Check-in [5029]: Upgraded build environment to GNU libtool 1.5.14 By rse. (diff) | |
1.635 | Check-in [5028]: Add quotes around function names for AC_DEFUN in pth.m4 to avoid warnings about "underquoted definitions". By rse. (diff) | |
1.634 | Check-in [4944]: Adjusted all copyright messages for new year 2005. By rse. (diff) | |
1.633 | Check-in
[4896]:
Do not insist on writing to the source directory on "make install"
in order to more closely follow GNU standards.
Remove "*.bak" and "*~" files under "make distclean" instead of "make clean". Submitted by: Bruno Haible <bruno@clisp.org> By rse. (diff) | |
1.632 | Check-in [4890]: Resurrect the old "make striptease" command by fixing the configure run-time in the stripped down source tree and fixing the list of source files. By rse. (diff) | |
1.631 | Check-in [4889]: bump version before release By rse. (diff) | |
1.630 | Check-in
[4888]:
The pth_uctx_save() and pth_uctx_restore() API functions
unfortunately were broken by design because they are C
functions. This leads to one more deadly nesting on the
run-time stack which effectively caused the pth_mctx_restore()
in pth_uctx_restore() to return to the end of pth_uctx_save()
but then the control flow unfortunately returns to the
pth_uctx_restore() caller instead of the pth_uctx_save() caller
because the call to pth_uctx_restore() had already overwritten the
run-time stack position where the original return address for the
pth_uctx_save() call was stored.
The only workaround would be to #define pth_uctx_save() and pth_uctx_restore() as C macros, but this then would require that lots of the GNU Pth internals from pth_mctx.c would have to be exported in the GNU Pth API (which in turn is not acceptable). So, the only consequence is to remove the two functions again from the GNU Pth API. Prompted by hints from: Stefan Brantschen <sbr@acm.org> By rse. (diff) | |
1.629 | Check-in [4887]: Enhance internal pth_mctx_save() if getcontext(3) is used for the machine context saving by better emulating the setjmp(3) style semantics. By rse. (diff) | |
1.628 | Check-in [4750]: Do not break in pth_msgport_find() if a message port was created with a NULL name. By rse. (diff) | |
1.627 | Check-in [4740]: Better error checking in pth_key_xxx() functions. By rse. (diff) | |
1.626 | Check-in
[4738]:
Added PTH_CTRL_FAVOURNEW control which allows the user
to disable the favouring of new threads on scheduling
to get more strict priority based scheduling behavior.
Triggered by: Vinu V <Vinu_V@mindtree.com> By rse. (diff) | |
1.625 | Check-in [4732]: Upgraded build environment to GNU libtool 1.5.10 By rse. (diff) | |
1.624 | Check-in
[4709]:
Added hard syscall wrappers for send(2) and recv(2).
Obtained from: NetBSD pkgsrc patches By rse. (diff) | |
1.623 | Check-in [4708]: Internally handle errors returned from pth_event() in order to pass them upstream to the caller in pth_high.c functions. By rse. (diff) | |
1.622 | Check-in
[4707]:
Fix syscall wrapper for sendto(2).
Obtained from: NetBSD pkgsrc patches By rse. (diff) | |
1.621 | Check-in [4706]: bump before release By rse. (diff) | |
1.620 | Check-in [4705]: Use "(char *)NULL" instead of plain "NULL" in last argument to execl(2) to avoid GCC 3.5's "warning: missing sentinel in function call". By rse. (diff) | |
1.619 | Check-in
[4703]:
Workaround Autoconf/m4 problems in pth.m4 by using "m4_define"
instead of just "define" and no using m4_undefine at all.
Hints by: Dr. Andreas Mueller <afm@othello.ch> By rse. (diff) | |
1.618 | Check-in
[4702]:
Avoid side-effects by defining _XOPEN_SOURCE only temporarily
for inclusion of <poll.h> instead of permanently.
Submitted by: Graham Nash <gnash@ncube.com> By rse. (diff) | |
1.617 | Check-in
[4700]:
Workaround GCC 2.x and 3.5 (3.4 worked fine) macro parsing
behaviour by using a pre-declared function pointer type "typedef
int (*pth_event_func_t)(void *);" instead of using an inlined
"int (*)(void *)".
Triggered by a report from: Robert Anderson <RWA@sbcglobal.net> By rse. (diff) | |
1.616 | Check-in
[4699]:
Fixed prototype for pthread_attr_setschedparam(3) from
to use a "const struct sched_param *" argument to comply
with SUSv2/v3.
Submitted by: Rafael Ávila de Espíndola <rafael.espindola@ic.unicamp.br> By rse. (diff) | |
1.615 | Check-in [4673]: ops, next is GNU pth 2.0.2... By rse. (diff) | |
1.614 | Check-in [4672]: upgraded to GNU libtool 1.5.8 and GNU shtool 2.0.1 By rse. (diff) | |
1.613 | Check-in [4642]: bump version By rse. (diff) | |
1.612 | Check-in [4641]: Fix handling/casting of "int (*)(void *)" callback functions By rse. (diff) | |
1.611 | Check-in [4640]: Resolve symbol conflict in pth_string.c between pow10/round and GCC builtins. By rse. (diff) | |
1.610 | Check-in [4639]: Adjusted all copyright messages for new year 2004. By rse. (diff) | |
1.609 | Check-in [4638]: Upgraded build environment to GNU autoconf 2.59, GNU libtool 1.5.6 and GNU shtool 2.0.0. By rse. (diff) | |
1.608 | Check-in
[3642]:
1. Use GCC 3.3 option "-fno-strict-aliasing" (if available) under
Autoconf option "--enable-debug" because mainly pth_mctx.c contains
important and correct pointer casting constructs which are not
acceptable in "strict aliasing" for GCC.
2. Upgraded to GNU libtool 1.5. By rse. (diff) | |
1.607 | Check-in
[3319]:
Fixed implementation so that --enable-pthread now correctly
implies --enable-syscall-soft.
Discovered by: Steve Alstrin <Steve.Alstrin@NetIQ.com> By rse. (diff) | |
1.606 | Check-in [3308]: Replace some 0 by more politically correct NULL in pth_string.c By rse. (diff) | |
1.605 | Check-in [3266]: final polishing before release By rse. (diff) | |
1.604 | Check-in [3061]: Adjusted all copyright messages for new year 2003. By rse. (diff) | |
1.603 | Check-in [2948]: upgrade to Autoconf 2.57 By rse. (diff) | |
1.602 | Check-in [2947]: prepare for release By rse. (diff) | |
1.601 | Check-in
[2940]:
Fixed compiler warnings under Linux: require inclusion of <time.h>
Submitted by: Joseph Wayne Norton <norton@alum.mit.edu> By rse. (diff) | |
1.600 | Check-in [2801]: Fixed error handling in pth_init(3): it now correctly returns an error instead of abort(3)'ing. By rse. (diff) | |
1.599 | Check-in [2789]: Added soft syscall mapping for nanosleep(3) and usleep(3) functions also to the Pthread API. By rse. (diff) | |
1.598 | Check-in [2784]: update version for release By rse. (diff) | |
1.597 | Check-in
[2783]:
Make pth_poll(3) more compliant to POSIX.1-2001/SUSv3 poll(2).
Parts submitted by: Nick Hudson <skrll@netbsd.org> By rse. (diff) | |
1.596 | Check-in [2781]: Make pth_select(2) more compliant to POSIX.1-2001/SUSv3 select(2). This especially fixes the polling-only situation (timeout = (0,0)). By rse. (diff) | |
1.595 | Check-in [2779]: Make sure that in the even manager a polling-only select(2) call uses a correctly initialized timeout parameter. Because SUSv3 says: "Upon successful completion, the select() function may modify the object pointed to by the timeout argument." By rse. (diff) | |
1.594 | Check-in [2778]: Added soft and hard syscall mapping for nanosleep(3) and usleep(3) functions. By rse. (diff) | |
1.593 | Check-in
[2776]:
Fix poll(2) semantics: remove POLLRDNORM from polling
result if POLLHUP is detected.
Hint by: Paolo Bonzini <bonzini@gnu.org> By rse. (diff) | |
1.592 | Check-in [2772]: Updated PORTING file to include community feedback from the last months. By rse. (diff) | |
1.591 | Check-in [2763]: polish for release By rse. (diff) | |
1.590 | Check-in [2761]: Fix dropping of scheduler thread pools and this way fix memory leak. By rse. (diff) | |
1.589 | Check-in [2757]: Check for PTH_FDMODE_ERROR error conditions internally, too. By rse. (diff) | |
1.588 | Check-in
[2742]:
1. The function "int pth_event_occurred(pth_event_t)" was replaced
with "pth_status_t pth_event_status(pth_event_t)" where pth_status_t
can have values of PTH_STATUS_PENDING (replacing the old FALSE return
value of pth_event_occurred), PTH_STATUS_OCCURRED (replacing
the old TRUE return value of pth_event_occurred), and
PTH_STATUS_FAILED (a new return value indicating an error in
processing the event). This was scheduler/event-manager errors can
be indicated which happended while processing the event. For
backward compatibility reasons, a macro pth_event_occurred() was
added. This will be removed soon.
2. Use the new PTH_STATUS_FAILED event status in the scheduler's event-manager for filedescriptor events if the internal select(2) call returned with an error. Additionally this PTH_STATUS_FAILED is recognized by the high-level API functions (pth_select, etc) and produce the necessary POSIX conforming return codes (usually -1 and errno == EBADF). Parts submitted by: Thanh Luu <tluu@synapcity.com> By rse. (diff) | |
1.587 | Check-in [2726]: Upgraded to latest version of the OSSP Autoconf macro AC_CHECK_EXTLIB in order to fix problems with the current Autoconf 2.54 environment. By rse. (diff) | |
1.586 | Check-in
[2724]:
Add Autoconf option --with-fdsetsize=NUM which allows to
force a particular (usually higher than the default) FD_SETSIZE
value for building Pth. Additionally Pth makes sure that the
application using Pth does not use an even larger size.
Original patch by: Nick Hudson <skrll@netbsd.org> By rse. (diff) | |
1.585 | Check-in [2722]: cleanups for next release already in advance By rse. (diff) | |
1.584 | Check-in [2721]: Added thread attribute PTH_ATTR_DISPATCHES which (in bounded attribute objects) is incremented every time the context is switched to the associated thread. This can be used for statistical information. By rse. (diff) | |
1.583 | Check-in [2718]: Added a stand-alone sub-API for manual user-space context switching. It is somewhat modeled after the POSIX ucontext(3) facility and consists of an opaque data type pth_uctx_t and the management functions pth_uctx_create(), pth_uctx_make(), pth_uctx_save(), pth_uctx_restore(), pth_uctx_switch() and pth_uctx_destroy(). These functions are based on the same underlying machine context switching facility (pth_mctx) the threads in GNU Pth are using. This facility can be used to implement co-routines without a full real multithreading environment or even to implement an own multithreading environment. By rse. (diff) | |
1.582 | Check-in [2665]: Add a Pth variant of the new POSIX pselect(2) function, including soft and hard syscall mapping support for it. By rse. (diff) | |
1.581 | Check-in [2664]: More POSIX compliance for pth_select() in case of invalid timeout values and invalid filedescriptors. By rse. (diff) | |
1.580 | Check-in [2661]: Internally switch from "errno_shield {...}" to "pth_shield {...}" and from "return_errno(..)" to "return pth_error(...)" in order to make the internal error handling a little bit more consistent. By rse. (diff) | |
1.579 | Check-in [2660]: Cleaned and speeded up the pth_exit() processing. By rse. (diff) | |
1.578 | Check-in [2657]: Added POSIX-compliant sanity checks for bad filedescriptors to mostly all filedescriptor-based I/O functions in pth_high.c By rse. (diff) | |
1.577 | Check-in
[2652]:
Added pth_nanosleep() function.
Obtained from: NetBSD, Nick Hudson <skrll@netbsd.org> By rse. (diff) | |
1.576 | Check-in
[2650]:
Matthew Mondor <mmondor@gobot.ca> wrote:
> I noticed that pth_msgport_create(), although inspired from the AmigaOS > API, does not support NULL for port identifyer, which would be very > useful for thread-specific private message ports (mmftpd uses those and > unfortunately currently has to generate unique strings to create ports). > AmigaOS had this functionality... So, make him happy and allow NULL from now on, too. By rse. (diff) | |
1.575 | Check-in
[2631]:
Added "hard syscall mapping" support for using
SYS___sigprocmask14 instead of SYS_sigprocmask on NetBSD.
Submitted by: Nick Hudson <skrll@netbsd.org> By rse. (diff) | |
1.574 | Check-in
[2630]:
Changes three direct sigprocmask(2) calls with the
corresponding "hard syscall mapping" macro calls.
Submitted by: Nick Hudson <skrll@netbsd.org> By rse. (diff) | |
1.573 | Check-in
[2628]:
Add Autoconf support for brain-dead GNU Hurd.
Submitted by: B. Douglas Hilton <doug.hilton@engineer.com> By rse. (diff) | |
1.572 | Check-in [2626]: cleanups and updates By rse. (diff) | |
1.571 | Check-in
[2625]:
Completely rewrote the "hard syscall mapping".
Previously the internal syscall exit points were based on syscall(2) only. This is problematic because it by-passes the C library glue code which sometimes performs necessary assembly fiddling in order to call the underlying system calls correctly. Additionally, syscall(2) does not exists everywhere. Now the internal exit points are based on a by-syscall dynamically selected combination of RTLD_NEXT+dlsym(2), dlopen(2)+dlsym(2) and the known syscall(2) (in this fallback order). This way the "hard syscall mapping" is a lot more portable and flexible. Initial implementation by: Jonathan Schilling <jls@sco.com> Enhanced implementation by: Ralf S. Engelschall By rse. (diff) | |
1.570 | Check-in
[2587]:
Added support to pth_poll(3) for the poll(2) XPG.4 flags
POLLD{RD,WR}{NORM,BAND}.
Submitted by: Jason Evans <jasone@canonware.com> Final shaping by: Ralf S. Engelschall By rse. (diff) | |
1.569 | Check-in [2586]: remove trailing whitespaces By rse. (diff) | |
1.568 | Check-in [2585]: switch to latest Autoconf for now By rse. (diff) | |
1.567 | Check-in
[2582]:
Fixed a long-standing termination bug in pth_exit(3):
The event handler of pth_exit(3) didn't let pth_exit(3) finish if
there were any threads on the "dead queue" (where non-detached
terminated threads are put). Instead it re-entered the scheduler
which in turn aborted with "Pth SCHEDULER INTERNAL ERROR: no
more thread(s) available to schedule!?!?". This is now fixed by
not counting the "dead queue" for the determination whether the
process as a whole should terminate or not.
Submitted by: Jonathan Schilling <jls@sco.com> By rse. (diff) | |
1.566 | Check-in
[2581]:
The manual page stated that system(3) is supported in the "Soft System
Call Mapping", but in fact it was forgotten in the implementation.
Submitted by: Jonathan Schilling <jls@sco.com> By rse. (diff) | |
1.565 | Check-in [2545]: fix address and give credit By rse. (diff) | |
1.564 | Check-in
[2544]:
Add #define _PTHREAD_T to pthread.h to guard under SCO UnixWare 7
and OpenUNIX 8.
Submitted by: Jonathan Schilling <jls@caldera.com> By rse. (diff) | |
1.563 | Check-in [2530]: add header By rse. (diff) | |
1.562 | Check-in [2207]: Finally make Pth working again under new Autoconf 2.53 environment. By rse. (diff) | |
1.561 | Check-in
[2109]:
Fixed more ENglish errors.
Submitted by: Felix Berger <bflat1@gmx.net> By rse. (diff) | |
1.560 | Check-in [1707]: Add optional support for OSSP ex based exception handling. GNU Pth (still) does not throw exceptions by itself, but handles the per-thread exception context of OSSP ex to make exception handling local to a thread. By rse. (diff) | |
1.559 | Check-in [1703]: Woohhooo! Major GNU Pth source tree overhauling: - Removed all generated files from CVS. - Use OSSP devtool stuff to re-generate files on demand. - Switched to Autoconf 2.52 and Libtool 1.4.2 environment. By rse. (diff) | |
1.558 | Check-in [1664]: add 1.5 header By rse. (diff) | |
1.557 | Check-in
[1662]:
Internally make sure an invalid file-descriptor (integer not
between 0 and (FD_SETSIZE-1) does not lead to any segfaults or
other undefined behaviour. Instead an error is returned and errno
is set to EBADF, similar to what the OS functions do. Especially
pth_poll() now return with this error (instead of skipping the fd)
if an fd in the "struct pollfd" is invalid.
Hint by: Archie Cobbs <archie@packetdesign.com> By rse. (diff) | |
1.556 | Check-in
[1661]:
Correctly support PTH_FDMODE_NONBLOCK in pth_connect and pth_accept.
Submitted by: Archie Cobbs <archie@packetdesign.com> By rse. (diff) | |
1.555 | Check-in [1660]: update version By rse. (diff) | |
1.554 | Check-in [1655]: update By rse. (diff) | |
1.553 | Check-in [606]: *** empty log message *** By rse. (diff) | |
1.552 | Check-in [573]: *** empty log message *** By rse. (diff) | |
1.551 | Check-in [566]: *** empty log message *** By rse. (diff) | |
1.550 | Check-in [538]: *** empty log message *** By rse. (diff) | |
1.549 | Check-in [536]: *** empty log message *** By rse. (diff) | |
1.548 | Check-in [439]: *** empty log message *** By rse. (diff) | |
1.547 | Check-in [431]: *** empty log message *** By rse. (diff) | |
1.546 | Check-in [430]: *** empty log message *** By rse. (diff) | |
1.545 | Check-in [428]: *** empty log message *** By rse. (diff) | |
1.488.2.13 | Check-in [427] on branch PTH_1_3: *** empty log message *** By rse. (diff) | |
1.488.2.12 | Check-in [426] on branch PTH_1_3: *** empty log message *** By rse. (diff) | |
1.544 | Check-in [425]: *** empty log message *** By rse. (diff) | |
1.543 | Check-in [424]: *** empty log message *** By rse. (diff) | |
1.542 | Check-in [423]: *** empty log message *** By rse. (diff) | |
1.541 | Check-in [419]: *** empty log message *** By rse. (diff) | |
1.540 | Check-in [417]: *** empty log message *** By rse. (diff) | |
1.539 | Check-in [415]: *** empty log message *** By rse. (diff) | |
1.538 | Check-in [413]: *** empty log message *** By rse. (diff) | |
1.537 | Check-in [412]: *** empty log message *** By rse. (diff) | |
1.488.2.11 | Check-in [401] on branch PTH_1_3: *** empty log message *** By rse. (diff) | |
1.536 | Check-in [398]: *** empty log message *** By rse. (diff) | |
1.535 | Check-in [246]: *** empty log message *** By rse. (diff) | |
1.533 | Check-in [170]: *** empty log message *** By rse. (diff) | |
1.534 | Check-in [170]: *** empty log message *** By rse. (diff) | |
1.532 | Check-in [167]: *** empty log message *** By rse. (diff) | |
1.531 | Check-in [165]: *** empty log message *** By rse. (diff) | |
1.530 | Check-in [140]: *** empty log message *** By rse. (diff) | |
1.529 | Check-in [139]: *** empty log message *** By rse. (diff) | |
1.528 | Check-in [138]: *** empty log message *** By rse. (diff) | |
1.527 | Check-in [137]: *** empty log message *** By rse. (diff) | |
1.526 | Check-in [135]: *** empty log message *** By rse. (diff) | |
1.525 | Check-in [134]: *** empty log message *** By rse. (diff) | |
1.524 | Check-in [127]: *** empty log message *** By rse. (diff) | |
1.488.2.10 | Check-in [124] on branch PTH_1_3: *** empty log message *** By rse. (diff) | |
1.523 | Check-in [122]: *** empty log message *** By rse. (diff) | |
1.522 | Check-in [118]: *** empty log message *** By rse. (diff) | |
1.521 | Check-in [106]: *** empty log message *** By rse. (diff) | |
1.520 | Check-in [97]: *** empty log message *** By rse. (diff) | |
1.519 | Check-in [95]: *** empty log message *** By rse. (diff) | |
1.488.2.9 | Check-in [74] on branch PTH_1_3: *** empty log message *** By rse. | |
1.518 | Check-in [72]: *** empty log message *** By rse. (diff) | |
1.517 | Check-in [71]: *** empty log message *** By rse. (diff) | |
1.516 | Check-in [64]: *** empty log message *** By rse. (diff) | |
1.515 | Check-in [37]: *** empty log message *** By rse. |