[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    I/O slave creation seems backward
From:       "Ben Schepens" <schepens () mindspring ! com>
Date:       2001-09-27 21:41:00
[Download RAW message or body]

I have successfully created and used I/O slaves, but I am
still bothered by the following curiosity:

Job creation sequence seems backwards or prone to race conditions.  
As I understand it, to create an http post job one does the following:

-----------------------------
    job = KIO::http_post( url, postData, false ); 
    job->addMetaData("content-type", contentType ); 
    job->addMetaData("referrer", referrerURL); 
-----------------------------

but it seems like the Job and the data transfer has begun before 
the meta data and callback slots are specified.

What am I missing?

Thanks,
Ben Schepens
schepens AT mindspring . com


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic