URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [rtems/] [c/] [src/] [exec/] [posix/] [src/] [semaphore.c] - Rev 158
Go to most recent revision | Compare with Previous | Blame | View Log
/* * $Id: semaphore.c,v 1.1.1.1 2001-07-10 09:43:02 chris Exp $ */ #include <stdarg.h> #include <errno.h> #include <fcntl.h> #include <pthread.h> #include <semaphore.h> #include <limits.h> #include <rtems/system.h> #include <rtems/score/object.h> #include <rtems/posix/semaphore.h> #include <rtems/posix/time.h> #include <rtems/posix/seterr.h> /*PAGE * * _POSIX_Semaphore_Manager_initialization * * This routine initializes all semaphore manager related data structures. * * Input parameters: * maximum_semaphores - maximum configured semaphores * * Output parameters: NONE */ void _POSIX_Semaphore_Manager_initialization( unsigned32 maximum_semaphores ) { _Objects_Initialize_information( &_POSIX_Semaphore_Information, OBJECTS_POSIX_SEMAPHORES, TRUE, maximum_semaphores, sizeof( POSIX_Semaphore_Control ), TRUE, _POSIX_PATH_MAX, FALSE ); }
Go to most recent revision | Compare with Previous | Blame | View Log