mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.Web: socket
git-svn-id: svn://ultimatepp.org/upp/trunk@3064 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cccfd8a61a
commit
ce8336050d
1 changed files with 4 additions and 4 deletions
|
|
@ -796,7 +796,7 @@ static String& SockErrorText()
|
|||
{
|
||||
static StaticCriticalSection csect;
|
||||
CriticalSection::Lock lock(csect);
|
||||
static Index<int> thread_index;
|
||||
static Index<uintptr_t> thread_index;
|
||||
static Array<String> thread_errors;
|
||||
static Vector<int> error_ticks;
|
||||
int t = msecs();
|
||||
|
|
@ -809,12 +809,12 @@ static String& SockErrorText()
|
|||
}
|
||||
}
|
||||
#ifdef PLATFORM_WIN32
|
||||
int tid = GetCurrentThreadId();
|
||||
uintptr_t tid = GetCurrentThreadId();
|
||||
#else
|
||||
#ifdef _MULTITHREADED
|
||||
int tid = (int)Thread::GetCurrentId();
|
||||
uintptr_t tid = (uintptr_t)Thread::GetCurrentId();
|
||||
#else
|
||||
int tid = 0;
|
||||
uintptr_t tid = 0;
|
||||
#endif
|
||||
#endif
|
||||
int f = thread_index.Find(tid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue