Anybody help me to solve this,this is ver urgent
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   saravan_saravan
Posted On:   Friday, February 28, 2003 04:32 AM

hi,

anybody help me to solve this small problem

my proble is like i want one to read data from one file and another thread to write in another file.

plz any body help me.

Re: Anybody help me to solve this,this is ver urgent

Posted By:   Simon_Ablett  
Posted On:   Tuesday, March 4, 2003 08:11 AM

So create two threads have a shared memory pool. Write data into the memory pool from one thread and read from it in the other. Synchronize on the data pool, or a lock object, to prevent reads occurring whilst a write is taking place or vice versa. Easy.

Regarsd.
About | Sitemap | Contact