|
Last change
on this file since 1071 was 5, checked in by Yuri Dario, 19 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 |
|
|---|
| 7 | static 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 |
|
|---|
| 17 | MTFUNC(int, smb_read_error)
|
|---|
| 18 | MTFUNC(struct in_addr, lastip)
|
|---|
| 19 | MTFUNC(int, lastport)
|
|---|
| 20 | MTFUNC(TALLOC_CTX*, list_head)
|
|---|
| 21 |
|
|---|
| 22 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.