OSSP CVS Repository

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

DateVersion Description
2007-Jan-01 19:23    1.111    Check-in [5677]: Adjusted all copyright messages for new year 2007. By rse. (diff)
2006-Jun-08 19:54    1.110    Check-in [5405]: Adjusted all copyright messages for new year 2006 By rse. (diff)
2004-Dec-31 20:34    1.109    Check-in [4944]: Adjusted all copyright messages for new year 2005. By rse. (diff)
2004-Sep-12 14:18    1.108    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)
2004-Sep-12 13:52    1.107    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)
2004-Jul-13 12:50    1.106    Check-in [4639]: Adjusted all copyright messages for new year 2004. By rse. (diff)
2003-Jan-01 16:49    1.105    Check-in [3061]: Adjusted all copyright messages for new year 2003. By rse. (diff)
2002-Nov-08 21:26    1.104    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)

2002-Nov-08 20:12    1.103    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)
2002-Nov-08 17:20    1.102    Check-in [2780]: cosmetics: be conistent with pth_select_ev parameter names By rse. (diff)
2002-Nov-08 16:35    1.101    Check-in [2777]: maintain size only at a single position By rse. (diff)
2002-Nov-08 13:38    1.100    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)

2002-Nov-07 16:21    1.99    Check-in [2757]: Check for PTH_FDMODE_ERROR error conditions internally, too. By rse. (diff)
2002-Nov-07 16:07    1.98    Check-in [2756]: recognize fcntl(3) errors in pth_fdmode By rse. (diff)
2002-Nov-07 14:27    1.97    Check-in [2755]: more POSIX conformance for pth_send/pth_recv By rse. (diff)
2002-Nov-05 20:47    1.96    Check-in [2744]: use even more POSIX conforming semantics By rse. (diff)
2002-Nov-05 20:39    1.95    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-Oct-25 13:59    1.94    Check-in [2666]: also complain on EINVAL immediately without asking the scheduler By rse. (diff)
2002-Oct-25 13:56    1.93    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-25 13:53    1.92    Check-in [2664]: More POSIX compliance for pth_select() in case of invalid timeout values and invalid filedescriptors. By rse. (diff)
2002-Oct-24 17:21    1.91    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)
2002-Oct-24 11:07    1.90    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)
2002-Oct-23 16:04    1.89    Check-in [2652]: Added pth_nanosleep() function.

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

2002-Oct-20 19:49    1.88    Check-in [2632]: add extra sanity check for nfds in pth_select By rse. (diff)
2002-Oct-20 18:19    1.87    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)

2002-Oct-20 18:10    1.86    Check-in [2629]: fix left-over from cut & paste By rse. (diff)
2002-Oct-15 23:14    1.85    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-Oct-15 22:34    1.84    Check-in [2586]: remove trailing whitespaces By rse. (diff)
2002-Jan-27 14:15    1.83    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)

2002-Jan-27 13:39    1.82    Check-in [1661]: Correctly support PTH_FDMODE_NONBLOCK in pth_connect and pth_accept.

Submitted by: Archie Cobbs <archie@packetdesign.com> By rse. (diff)

2002-Jan-27 12:03    1.81    Check-in [1658]: bump copyright year By rse. (diff)
2002-Jan-27 11:47    1.80    Check-in [1654]: Replaced thread-unsafe usage of a static struct iovec in pth_writev_ev() with a thread-safe stack/heap-based solution.

Submitted by: Mark Burton <markb@ordern.com> By rse. (diff)

2001-Jul-30 20:47    1.79    Check-in [575]: *** empty log message *** By rse. (diff)
2001-Jul-30 20:45    1.78    Check-in [574]: *** empty log message *** By rse. (diff)
2001-Jul-30 20:29    1.77    Check-in [573]: *** empty log message *** By rse. (diff)
2001-Mar-24 15:51    1.76    Check-in [419]: *** empty log message *** By rse. (diff)
2000-Oct-02 11:26    1.75    Check-in [167]: *** empty log message *** By rse. (diff)
2000-Aug-17 10:35    1.74    Check-in [137]: *** empty log message *** By rse.

CVSTrac 2.0.1