OSSP CVS Repository

ossp - History for /ossp-pkg/pth/pth.h.in
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Omit Milestones

DateVersion Description
2007-Jan-01 19:23    1.147    Check-in [5677]: Adjusted all copyright messages for new year 2007. By rse. (diff)
2006-Jun-08 19:54    1.146    Check-in [5405]: Adjusted all copyright messages for new year 2006 By rse. (diff)
2004-Dec-31 20:34    1.145    Check-in [4944]: Adjusted all copyright messages for new year 2005. By rse. (diff)
2004-Dec-03 17:21    1.144    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)

2004-Oct-08 18:17    1.143    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)

2004-Sep-12 13:36    1.142    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)

2004-Jul-13 12:50    1.141    Check-in [4639]: Adjusted all copyright messages for new year 2004. By rse. (diff)
2003-Jan-01 16:49    1.140    Check-in [3061]: Adjusted all copyright messages for new year 2003. By rse. (diff)
2002-Nov-08 17:05    1.139    Check-in [2778]: Added soft and hard syscall mapping for nanosleep(3) and usleep(3) functions. By rse. (diff)
2002-Nov-05 20:39    1.138    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)

2002-Nov-03 17:31    1.137    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)

2002-Nov-03 12:15    1.136    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)
2002-Nov-03 10:59    1.135    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)
2002-Oct-25 13:56    1.134    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)
2002-Oct-23 16:04    1.133    Check-in [2652]: Added pth_nanosleep() function.

Obtained from: NetBSD, Nick Hudson <skrll@netbsd.org> By rse. (diff)

2002-Oct-15 23:14    1.132    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)

2002-Jan-27 12:03    1.131    Check-in [1658]: bump copyright year By rse. (diff)
2001-Jul-24 20:55    1.130    Check-in [566]: *** empty log message *** By rse. (diff)
2001-Mar-24 15:51    1.129    Check-in [419]: *** empty log message *** By rse. (diff)
2001-Mar-24 14:49    1.128    Check-in [413]: *** empty log message *** By rse. (diff)
2000-Oct-02 11:26    1.127    Check-in [167]: *** empty log message *** By rse.

CVSTrac 2.0.1