Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - affiliated

Pages: [1]
System / Threadlimit?
« on: September 28, 2008, 04:49:31 pm »

Im trying to write an application that uses threads to handel multible network connections. For each Client there is a Client,Send,Recieve-Thread. After about 200 Clients, this would be 600 Threads, i got the message "Failed to create Thread".

Is it my Operating System or some SFML that reaches some limit? Im trying this on an Debian Etch. I tried to find my system limit of processes but failed.

Thanks for your time.

Network / sf::SocketTCP.Send() & sf::SocketTCP.Receive() Threadsaf
« on: July 13, 2008, 01:05:42 pm »

I started to wirte a multithread TCP Server and have a question to the following functions:


Are this functions Threadsafe? It does not make any sense if i hade a send and a receive thread for each client if this functions are not threadsafe. If they are not i have to use a mutex to "make them safe" but then the send or the recive thread locks the object and the other one can't act as it should?



Pages: [1]