Annotation of parser3/src/include/pa_os.h, revision 1.4
1.1 paf 1: /** @file
2: Parser: commonly used functions.
3:
1.4 ! paf 4: Copyright (c) 2001-2004 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 ! paf 11: static const char * const IDENT_OS_H="$Date: 2003/11/20 16:34:25 $";
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: