1. 05 Oct, 2007 2 commits
    • Pekka Pessi's avatar
      su_port.h: removed su_port_threadsafe() and su_port_yield() methods · 528bf0db
      Pekka Pessi authored
      su_port_wait_events() replaces su_port_yield().
    • Pekka Pessi's avatar
      su: added su_root_obtain(), su_root_release() and su_root_has_thread() · 4fb20afe
      Pekka Pessi authored
      When root is created with su_root_create() or cloned with su_clone_start(),
      the resulting root is obtained by the calling or created thread,
      The root can be released with su_root_release() and another thread can
      obtain it.
      The function su_root_has_thread() can be used to check if a thread has
      obtained or released the root.
      Implementation upgraded the su_port_own_thread() method as su_port_thread().
  2. 09 Feb, 2007 2 commits
  3. 08 Feb, 2007 1 commit
  4. 07 Feb, 2007 1 commit
    • Michael Jerris's avatar
      Fix gcc build with -stdÉ9 -pedantic-errors (RE-RECORDED) · f9abdf60
      Michael Jerris authored
      It is not possible to cast function pointers to (void *) in C99
      C99 printf formatting expects (void *) for %p argument
      (section p. 335).
  5. 06 Feb, 2007 1 commit
  6. 02 Feb, 2007 1 commit
  7. 01 Feb, 2007 1 commit
  8. 26 Jan, 2007 2 commits
    • Pekka Pessi's avatar
      su: separated su_poll_port and su_epoll_port implementations. · 0169e883
      Pekka Pessi authored
      Added a few test cases and fixed errors in su_port.c.
    • Pekka Pessi's avatar
      su_port.c etc: refactored su_port implementation. · e40e2640
      Pekka Pessi authored
      Basic su_port.c implementation using pthreads and poll() is now divided into
      three modules: su_base_port.c contains base implementation with su_base_*()
      functions, su_pthread_port.c contains pthread-specific implementation and
      su_poll_port() contains poll()/epoll()-specific parts. The decomposed
      su_port allows implementations on different platforms and usages to share
      code as far as possible.
      This patch also introduces configure option --disable-poll-port which should
      be used on systems with emulated poll, like older *BSD derivatives such as
      OS X. Note however that su_select_poll.c is not completed yet.