mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-21 11:16:38 +02:00
Rollback a number of changes :-(
git-svn-id: file:///home/jj/hercules.svn/trunk@1403 956126f8-22a0-4046-8f4a-272fa8102e63
This commit is contained in:
15
fthreads.h
15
fthreads.h
@@ -70,7 +70,6 @@ typedef void* (*PFT_THREAD_FUNC)(void*); // "thread function" ptr
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// (thread signalling not supported...)
|
||||
|
||||
extern
|
||||
void
|
||||
fthread_kill // (nop)
|
||||
(
|
||||
@@ -81,7 +80,6 @@ fthread_kill // (nop)
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// create a new thread...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_create
|
||||
(
|
||||
@@ -99,7 +97,6 @@ fthread_create
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// return thread-id...
|
||||
|
||||
extern
|
||||
FT_W32_DWORD
|
||||
fthread_self
|
||||
(
|
||||
@@ -108,7 +105,6 @@ fthread_self
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// exit from a thread...
|
||||
|
||||
extern
|
||||
void
|
||||
fthread_exit
|
||||
(
|
||||
@@ -118,7 +114,6 @@ fthread_exit
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// initialize a "mutex"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_mutex_init
|
||||
(
|
||||
@@ -132,7 +127,6 @@ fthread_mutex_init
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// destroy a "mutex"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_mutex_destroy
|
||||
(
|
||||
@@ -146,7 +140,6 @@ fthread_mutex_destroy
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// lock a "mutex"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_mutex_lock
|
||||
(
|
||||
@@ -160,7 +153,6 @@ fthread_mutex_lock
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// try to lock a "mutex"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_mutex_trylock
|
||||
(
|
||||
@@ -174,7 +166,6 @@ fthread_mutex_trylock
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// unlock a "mutex"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_mutex_unlock
|
||||
(
|
||||
@@ -188,7 +179,6 @@ fthread_mutex_unlock
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// initialize a "condition"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_cond_init
|
||||
(
|
||||
@@ -202,7 +192,6 @@ fthread_cond_init
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// destroy a "condition"...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_cond_destroy
|
||||
(
|
||||
@@ -216,7 +205,6 @@ fthread_cond_destroy
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// 'signal' a "condition"... (releases ONE waiting thread)
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_cond_signal
|
||||
(
|
||||
@@ -230,7 +218,6 @@ fthread_cond_signal
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// 'broadcast' a "condition"... (releases ALL waiting threads)
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_cond_broadcast
|
||||
(
|
||||
@@ -244,7 +231,6 @@ fthread_cond_broadcast
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// wait for a "condition" to occur...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_cond_wait
|
||||
(
|
||||
@@ -259,7 +245,6 @@ fthread_cond_wait
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// wait (but not forever) for a "condition" to occur...
|
||||
|
||||
extern
|
||||
int
|
||||
fthread_cond_timedwait
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user