mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
remove invalid warning from createThread() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
837e37a224
commit
0e34d857b3
1 changed files with 0 additions and 5 deletions
|
@ -66,11 +66,6 @@ static void* threadEntryPoint(void* contextData)
|
|||
|
||||
ThreadIdentifier createThread(ThreadFunction entryPoint, void* data, const char* name)
|
||||
{
|
||||
// Visual Studio has a 31-character limit on thread names. Longer names will
|
||||
// be truncated silently, but we'd like callers to know about the limit.
|
||||
if (strlen(name) > 31)
|
||||
qCritical("Thread name \"%s\" is longer than 31 characters and will be truncated by Visual Studio", name);
|
||||
|
||||
NewThreadContext* context = new NewThreadContext(entryPoint, data, name);
|
||||
|
||||
// Prevent the thread body from executing until we've established the thread identifier.
|
||||
|
|
Loading…
Add table
Reference in a new issue