OSSP CVS Repository |
|
Date | Version | Description |
---|---|---|
1.168 | Check-in [5677]: Adjusted all copyright messages for new year 2007. By rse. (diff) | |
1.167 | Check-in [5405]: Adjusted all copyright messages for new year 2006 By rse. (diff) | |
1.166 | Check-in [4944]: Adjusted all copyright messages for new year 2005. By rse. (diff) | |
1.165 | 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.164 | 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.163 | Check-in [4639]: Adjusted all copyright messages for new year 2004. By rse. (diff) | |
1.162 | Check-in [3061]: Adjusted all copyright messages for new year 2003. By rse. (diff) | |
1.161 | Check-in [2778]: Added soft and hard syscall mapping for nanosleep(3) and usleep(3) functions. By rse. (diff) | |
1.160 | 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.159 | 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.158 | 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.157 | 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.156 | Check-in
[2652]:
Added pth_nanosleep() function.
Obtained from: NetBSD, Nick Hudson <skrll@netbsd.org> By rse. (diff) | |
1.155 | 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.154 | Check-in [2586]: remove trailing whitespaces By rse. (diff) | |
1.153 | Check-in
[2109]:
Fixed more ENglish errors.
Submitted by: Felix Berger <bflat1@gmx.net> By rse. (diff) | |
1.152 | 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.151 | Check-in [1658]: bump copyright year By rse. (diff) | |
1.150 | Check-in [1572]: fix typo (found by Takashi Ishihara <tishihara@ucdavis.edu>) By rse. (diff) | |
1.149 | Check-in [1388]: *** empty log message *** By rse. (diff) | |
1.148 | Check-in [606]: *** empty log message *** By rse. (diff) | |
1.147 | Check-in [536]: *** empty log message *** By rse. (diff) | |
1.146 | Check-in [430]: *** empty log message *** By rse. (diff) | |
1.145 | Check-in [419]: *** empty log message *** By rse. (diff) | |
1.144 | Check-in [413]: *** empty log message *** By rse. (diff) | |
1.143 | Check-in [167]: *** empty log message *** By rse. (diff) | |
1.142 | Check-in [165]: *** empty log message *** By rse. (diff) | |
1.141 | Check-in [138]: *** empty log message *** By rse. (diff) | |
1.140 | Check-in [137]: *** empty log message *** By rse. (diff) | |
1.139 | Check-in [127]: *** empty log message *** By rse. (diff) | |
1.138 | Check-in [93]: *** empty log message *** By rse. |