# \[PATCH\] GNU pth, more bugs fixed

**URL:** <https://discourse.libsdl.org/t/patch-gnu-pth-more-bugs-fixed/6602>\
**Category:** SDL Development\
**Created:** [May 9, 2002, 5:11pm UTC](https://discourse.libsdl.org/t/patch-gnu-pth-more-bugs-fixed/6602 "2002-05-09T17:11:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Patrice\_Mandin](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/p/47e85d/32.png) [@Patrice\_Mandin](https://discourse.libsdl.org/u/Patrice_Mandin)\
**Post date:** [May 9, 2002, 5:11pm UTC](https://discourse.libsdl.org/t/patch-gnu-pth-more-bugs-fixed/6602/1 "2002-05-09T17:11:06Z")

</div>

Hello,  
I fixed two bugs with pth:

- Pth library not initialized at the right place (pth\_init  
and pth\_kill moved to src/SDL.c).
- thread handle not read (and saved) when the thread is  
created).–  
Patrice Mandin  
Web: [http://membres.lycos.fr/pmandin/](http://membres.lycos.fr/pmandin/)

* * *

Envoyez des messages musicaux sur le portable de vos amis  
[http://mobile.lycos.fr/mobile/local/sms\_musicaux/](http://mobile.lycos.fr/mobile/local/sms_musicaux/)

-------------- next part --------------  
A non-text attachment was scrubbed…  
Name: SDL-1.2.4-pth.diff.gz  
Type: application/octet-stream  
Size: 806 bytes  
Desc: not available  
URL: [http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020509/85dd5acc/attachment.obj](http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020509/85dd5acc/attachment.obj)
