Changeset 9cefba4 in mainline for include/synch/synch.h


Ignore:
Timestamp:
2005-10-16T19:18:19Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ba1b2194
Parents:
0bed5d0
Message:

Doxygen-style comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/synch/synch.h

    r0bed5d0 r9cefba4  
    3030#define __SYNCH_H__
    3131
    32 #define SYNCH_NO_TIMEOUT        0
    33 #define SYNCH_BLOCKING          0
    34 #define SYNCH_NON_BLOCKING      1
     32#define SYNCH_NO_TIMEOUT        0       /**< No timeout is request. */
     33#define SYNCH_BLOCKING          0       /**< Blocking operation request. */
     34#define SYNCH_NON_BLOCKING      1       /**< Non-blocking operation request. */
    3535
    36 #define ESYNCH_WOULD_BLOCK      1
    37 #define ESYNCH_TIMEOUT          2
    38 #define ESYNCH_OK_ATOMIC        4
    39 #define ESYNCH_OK_BLOCKED       8
     36#define ESYNCH_WOULD_BLOCK      1       /**< Could not satisfy the request without going to sleep. */
     37#define ESYNCH_TIMEOUT          2       /**< Timeout occurred. */
     38#define ESYNCH_OK_ATOMIC        4       /**< Operation succeeded without sleeping. */
     39#define ESYNCH_OK_BLOCKED       8       /**< Operation succeeded and did sleep. */
    4040
    4141#define SYNCH_FAILED(rc)        ((rc) & (ESYNCH_WOULD_BLOCK | ESYNCH_TIMEOUT))
Note: See TracChangeset for help on using the changeset viewer.