Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

saving received data

Name: Anonymous 2007-06-19 16:52 ID:qpAgjvBN

sup /prop/

I don't know shit about multithreading so would I gain anything by creating a new thread to save received data or is it the same as writing that stuff into the file right after the recv call?
Wouldn't it be actually slower than the latter?

Name: Anonymous 2007-06-19 16:53 ID:qpAgjvBN

>> /prog/

fix'd

Name: Anonymous 2007-06-19 16:59 ID:jDq7dRef

/b/fag GTFO ^___________^

(Any true /prog/-user knows asking questions here is not a good idea.)

Name: Anonymous 2007-06-19 17:04 ID:Heaven

>>2
>> /prog/
Learn to fucking quote
>>3
troll

Name: Anonymous 2007-06-19 17:04 ID:Heaven

>>1,2,4
Same person.

Name: Anonymous 2007-06-19 17:05 ID:qpAgjvBN

>>3

That's because you don't know it either, you little fag.
GTFO of thread

Name: Anonymous 2007-06-19 17:09 ID:Heaven

>>6
I didn't even read your post, but I'll do so just to make you angry... Okay, I have some good advice regarding your question, but I will not give it to you.

Name: Anonymous 2007-06-19 17:10 ID:kjGxd8mK

>>1
Depends, is your write blocking?

Name: Anonymous 2007-06-19 17:28 ID:qpAgjvBN

>>8

It is.

Name: Anonymous 2007-06-19 18:01 ID:kjGxd8mK

>>9
Then you clearly want to create another thread with a buffer and have that thread lock while you process stuff in the main thread.

Name: Anonymous 2007-06-19 20:19 ID:o+qFJiMe

Unless the stuff in the main thread relies on the recv'd data, then you're going to block anyway (either on the recv call for single-thread, or block until the critical section in the other thread is completed)

Name: Anonymous 2009-01-14 14:07

lol sepples

Name: Anonymous 2010-11-13 13:59

Name: Anonymous 2010-12-10 10:29

Name: Anonymous 2010-12-17 1:31

Xarn is a bad boyfriend

Name: Anonymous 2011-02-02 23:29

Don't change these.
Name: Email:
Entire Thread Thread List