OSSP CVS Repository

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

DateVersion Description
2007-Jan-01 19:23    1.67    Check-in [5677]: Adjusted all copyright messages for new year 2007. By rse. (diff)
2006-Jun-08 19:54    1.66    Check-in [5405]: Adjusted all copyright messages for new year 2006 By rse. (diff)
2004-Dec-31 20:34    1.65    Check-in [4944]: Adjusted all copyright messages for new year 2005. By rse. (diff)
2004-Sep-12 13:27    1.64    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)

2004-Jul-13 13:00    1.63    Check-in [4641]: Fix handling/casting of "int (*)(void *)" callback functions By rse. (diff)
2004-Jul-13 12:50    1.62    Check-in [4639]: Adjusted all copyright messages for new year 2004. By rse. (diff)
2003-Jan-01 16:49    1.61    Check-in [3061]: Adjusted all copyright messages for new year 2003. By rse. (diff)
2002-Nov-05 20:39    1.60    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-24 17:21    1.59    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-Jan-27 14:15    1.58    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 12:03    1.57    Check-in [1658]: bump copyright year By rse. (diff)
2001-Nov-30 13:37    1.56    Check-in [1391]: *** empty log message *** By rse. (diff)
2001-Mar-24 15:51    1.55    Check-in [419]: *** empty log message *** By rse.

CVSTrac 2.0.1