| Line |  | 
|---|
| 1 | /* $Id: oslibthread.h,v 1.1 2003-03-27 14:00:54 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * OS/2 thread apis | 
|---|
| 5 | * | 
|---|
| 6 | * | 
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 8 | * | 
|---|
| 9 | */ | 
|---|
| 10 | #ifndef __OSLIBTHREAD_H__ | 
|---|
| 11 | #define __OSLIBTHREAD_H__ | 
|---|
| 12 |  | 
|---|
| 13 | #ifdef __cplusplus | 
|---|
| 14 | extern "C" { | 
|---|
| 15 | #endif | 
|---|
| 16 |  | 
|---|
| 17 | BOOL  OSLibQueryThreadContext(ULONG ulThreadId, ULONG teb_sel, CONTEXT *lpContext); | 
|---|
| 18 | void  OSLibDosExitThread(ULONG retcode); | 
|---|
| 19 | DWORD OSLibDosSetPriority(ULONG tid, int priority); | 
|---|
| 20 | void  OSLibDosSetMaxPriority(ULONG tid); | 
|---|
| 21 |  | 
|---|
| 22 | void  OSLibDisableThreadSwitching(); | 
|---|
| 23 | void  OSLibEnableThreadSwitching(); | 
|---|
| 24 |  | 
|---|
| 25 | #ifdef __cplusplus | 
|---|
| 26 | } | 
|---|
| 27 | #endif | 
|---|
| 28 |  | 
|---|
| 29 | #endif //__OSLIBTHREAD_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.