# Thread question

**URL:** <https://discourse.libsdl.org/t/thread-question/3195>\
**Category:** SDL Development\
**Created:** [September 20, 2000, 4:00pm UTC](https://discourse.libsdl.org/t/thread-question/3195 "2000-09-20T16:00:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel2](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@Daniel2](https://discourse.libsdl.org/u/Daniel2)\
**Post date:** [September 20, 2000, 4:00pm UTC](https://discourse.libsdl.org/t/thread-question/3195/1 "2000-09-20T16:00:53Z")

</div>

Greetings,

```
What would cause a thread to exit with a -1 ?

The thread 0xFFFB5059 has exited with code 0 (0x0).
The thread 0xFFFC6661 has exited with code -1 (0xFFFFFFFF).
The thread 0xFFFB4AA5 has exited with code 0 (0x0).

How can i identify which thread is performing which functions ?

Why are there 6 threads when executing my SDL app in Win2k and 

```

only 3 when in Win98 ?

```
Where can i learn more about threads in general ?

Thank you.

```

-dv
