[SDL] just curious on threads

winterlion winterlion at fsj.net
Tue Dec 19 18:05:58 PST 2000


What's everyone else's encounters with lotsandlots of threads?
I'm currently working on a audio/video capture/playback networked-type
proggy (it's for work so don't ask) and it has lots of threads...  mostly
because when it was single-threaded it tended to bog down at several
points.  (it's currently at about a dozen active threads)

Anyways, while this is working fine for me under linux, is there anything
special to note about thread number limits or performance drops on other
platforms?  (ie: Win/32, MacOS (which version?), and so forth)

G'day, eh? :)
	- Teunis

PS: MANY kudos to the SDL thread code *g*.  It's made life much easier...
my current interthread queue system sort of resembles SDL_audio with a few
additions and changes ('intelligent' packets, fixed pools of packets, wait
states if pool full (doesn't tend to remain so) and multiple-thread-send
with single-thread receive (same as SDL_audio :)




More information about the SDL mailing list