1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Moved the signal semaphore allocation/initialization/deallocation

into a dedicated module. This also has the advantage that it's
  harder to break code by accidentally forgetting to call
  InitSemaphore() after having allocated the memory for it.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14853 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-03-03 14:20:55 +00:00
parent ebd6cc3639
commit ec3d921f7b
19 changed files with 148 additions and 74 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: stdlib_protos.h,v 1.10 2005-03-03 09:32:09 obarthel Exp $
* $Id: stdlib_protos.h,v 1.11 2005-03-03 14:20:55 obarthel Exp $
*
* :ts=4
*
@@ -185,18 +185,26 @@ extern void __stkovf(void);
/* stdlib_termination_message.c */
extern void __print_termination_message(const char * termination_message);
/****************************************************************************/
/* stdlib_set_process_window.c */
APTR __set_process_window(APTR new_window_pointer);
extern APTR __set_process_window(APTR new_window_pointer);
/****************************************************************************/
/* stdlib_set_errno.c */
void __set_errno(int new_errno);
extern void __set_errno(int new_errno);
/****************************************************************************/
/* stdlib_get_errno.c */
int __get_errno(void);
extern int __get_errno(void);
/****************************************************************************/
/* stdlib_semaphore.c */
extern struct SignalSemaphore * __create_semaphore(void);
extern void __delete_semaphore(struct SignalSemaphore * semaphore);
/****************************************************************************/