Annotation of parser3/src/include/pa_os.h, revision 1.4.14.1
1.1 paf 1: /** @file
2: Parser: commonly used functions.
3:
1.4.14.1! paf 4: Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)
1.1 paf 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.4.14.1! paf 11: static const char * const IDENT_OS_H="$Date: 2004/02/11 15:33:14 $";
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: