source: branches/client-1.5/src/os2mt.c@ 144

Last change on this file since 144 was 5, checked in by Yuri Dario, 18 years ago

OS/2 client code, initial import.

  • Property svn:eol-style set to native
File size: 357 bytes
Line 
1// OS/2 stuff to support multithreading for some 'global' variables
2
3#include "includes.h"
4
5#ifdef USE_OS2MT_STUFF
6
7static int cligettid()
8{
9 int tid = _gettid();
10 if (tid < 0 || tid > SMBCD_MAX_THREADS)
11 {
12 tid = 0;
13 }
14 return tid;
15}
16
17MTFUNC(int, smb_read_error)
18MTFUNC(struct in_addr, lastip)
19MTFUNC(int, lastport)
20MTFUNC(TALLOC_CTX*, list_head)
21
22#endif
Note: See TracBrowser for help on using the repository browser.