Commit 49799ad3 by Keith Seitz Committed by Keith Seitz

posix-threads.h: Fix coding style aberrations from 2006-06-19 check-in.

        * include/posix-threads.h: Fix coding style aberrations from
        2006-06-19 check-in.
        * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
        * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
        * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.

From-SVN: r115020
parent 9330cba6
2006-06-26 Keith Seitz <keiths@redhat.com> 2006-06-26 Keith Seitz <keiths@redhat.com>
* include/posix-threads.h: Fix coding style aberrations from
2006-06-19 check-in.
* posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
* include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
* win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
2006-06-26 Keith Seitz <keiths@redhat.com>
* include/no-gc.h (_Jv_SuspendThread): Declare. * include/no-gc.h (_Jv_SuspendThread): Declare.
(_Jv_ResumeThread): Likewise. (_Jv_ResumeThread): Likewise.
* include/boehm-gc.h (_Jv_SuspendThread): Declare. * include/boehm-gc.h (_Jv_SuspendThread): Declare.
......
...@@ -378,14 +378,14 @@ void _Jv_ThreadInterrupt (_Jv_Thread_t *data); ...@@ -378,14 +378,14 @@ void _Jv_ThreadInterrupt (_Jv_Thread_t *data);
// suspend count was zero, i.e., it is not suspended, this function // suspend count was zero, i.e., it is not suspended, this function
// will suspend the thread. This function may be used to suspend // will suspend the thread. This function may be used to suspend
// any thread from any other thread (or suspend itself). // any thread from any other thread (or suspend itself).
void _Jv_ThreadDebugSuspend (_Jv_Thread_t* data); void _Jv_ThreadDebugSuspend (_Jv_Thread_t *data);
// Decreases a thread's suspend count. If the thread's new thread // Decreases a thread's suspend count. If the thread's new thread
// count is zero, the thread is resumed. This function may be used // count is zero, the thread is resumed. This function may be used
// by any thread to resume any other thread. // by any thread to resume any other thread.
void _Jv_ThreadDebugResume (_Jv_Thread_t* data); void _Jv_ThreadDebugResume (_Jv_Thread_t *data);
// Get the suspend count for a thread // Get the suspend count for a thread
jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data); jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data);
#endif /* __JV_POSIX_THREADS__ */ #endif /* __JV_POSIX_THREADS__ */
...@@ -197,15 +197,15 @@ HANDLE _Jv_Win32GetInterruptEvent (void); ...@@ -197,15 +197,15 @@ HANDLE _Jv_Win32GetInterruptEvent (void);
// suspend count was zero, i.e., it is not suspended, this function // suspend count was zero, i.e., it is not suspended, this function
// will suspend the thread. This function may be used to suspend // will suspend the thread. This function may be used to suspend
// any thread from any other thread (or suspend itself). // any thread from any other thread (or suspend itself).
void _Jv_ThreadDebugSuspend (_Jv_Thread_t* data); void _Jv_ThreadDebugSuspend (_Jv_Thread_t *data);
// Decreases a thread's suspend count. If the thread's new thread // Decreases a thread's suspend count. If the thread's new thread
// count is zero, the thread is resumed. This function may be used // count is zero, the thread is resumed. This function may be used
// by any thread to resume any other thread. // by any thread to resume any other thread.
void _Jv_ThreadDebugResume (_Jv_Thread_t* data); void _Jv_ThreadDebugResume (_Jv_Thread_t *data);
// Get the suspend count for a thread // Get the suspend count for a thread
jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data); jint _Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data);
// Remove defines from <windows.h> that conflict with various things in libgcj code // Remove defines from <windows.h> that conflict with various things in libgcj code
......
...@@ -506,17 +506,17 @@ _Jv_ThreadWait (void) ...@@ -506,17 +506,17 @@ _Jv_ThreadWait (void)
} }
void void
_Jv_ThreadDebugSuspend (_Jv_Thread_t* data) _Jv_ThreadDebugSuspend (_Jv_Thread_t *data)
{ {
} }
void void
_Jv_ThreadDebugResume (_Jv_Thread_t* data) _Jv_ThreadDebugResume (_Jv_Thread_t *data)
{ {
} }
jint jint
_Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data) _Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data)
{ {
return -1; return -1;
} }
......
...@@ -421,17 +421,17 @@ _Jv_ThreadInterrupt (_Jv_Thread_t *data) ...@@ -421,17 +421,17 @@ _Jv_ThreadInterrupt (_Jv_Thread_t *data)
} }
void void
_Jv_ThreadDebugSuspend (_Jv_Thread_t* data) _Jv_ThreadDebugSuspend (_Jv_Thread_t *data)
{ {
} }
void void
_Jv_ThreadDebugResume (_Jv_Thread_t* data) _Jv_ThreadDebugResume (_Jv_Thread_t *data)
{ {
} }
jint jint
_Jv_ThreadDebugSuspendCount (_Jv_Thread_t* data) _Jv_ThreadDebugSuspendCount (_Jv_Thread_t *data)
{ {
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment