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

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: 
        !            11: static const char* IDENT_OS_H="$Date: 2003/09/25 09:15:02 $";
        !            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: 
        !            18: /// yields to OS for secs secs and usecs milliseconds
        !            19: int pa_sleep(unsigned long secs, unsigned long usecs);
        !            20: 
        !            21: #endif

E-mail: