Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/semaphore.h

    r897fd8f1 r83dab11  
    3636#define KERN_SEMAPHORE_H_
    3737
    38 #include <errno.h>
    3938#include <stdint.h>
    4039#include <synch/waitq.h>
     
    5554
    5655#define semaphore_down_interruptable(s) \
    57         (_semaphore_down_timeout((s), SYNCH_NO_TIMEOUT, \
    58                 SYNCH_FLAGS_INTERRUPTIBLE) != EINTR)
     56        (ESYNCH_INTERRUPTED != _semaphore_down_timeout((s), SYNCH_NO_TIMEOUT, \
     57                SYNCH_FLAGS_INTERRUPTIBLE))
    5958
    6059extern void semaphore_initialize(semaphore_t *, int);
Note: See TracChangeset for help on using the changeset viewer.