Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void* producer(void* param)
- {
- FILE* filep = *(FILE*)param;
- char line[256];
- while (fgets(line, 256, filep) != NULL)
- {
- processLine(line);
- }
- return NULL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement