Annotation of parser3/src/include/pa_os.h, revision 1.3

1.1       paf         1: /** @file
                      2:        Parser: commonly used functions.
                      3: 
                      4:        Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
                      5:        Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
                      6: */
                      7: 
                      8: #ifndef PA_OS_H
                      9: #define PA_OS_H
                     10: 
1.3     ! paf        11: static const char * const IDENT_OS_H="$Date: 2003/11/19 08:20:02 $";
1.1       paf        12: 
                     13: int pa_lock_shared_blocking(int fd);
                     14: int pa_lock_exclusive_blocking(int fd);
                     15: int pa_lock_exclusive_nonblocking(int fd);
                     16: int pa_unlock(int fd);
                     17: 
1.2       paf        18: /// yields to OS for secs secs and usecs microseconds (1E-6)
1.1       paf        19: int pa_sleep(unsigned long secs, unsigned long usecs);
                     20: 
                     21: #endif

E-mail: