thread « open « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » open » thread 

1. Can CreateFile() Open one file at the same time in two different thread    stackoverflow.com

Can CreateFile() Open one file at the same time in two different thread


void new_function(void * what) {
HANDLE h = CreateFile("c:\\tmp", GENERIC_ALL,FILE_SHARE_WRITE | 
         ...

2. Error with threads opening files    bytes.com

Hi all, I'm using C and pthread on a Linux machine, and I'm having trouble parallelizing a program. I'm basically trying to take in a folder of data files, divide them into groups, each group handled by a thread, and run a function on each of the data file. The way I'm doing this is I have a global char **filename ...

3. [Ubunut, g++ 4.2] Threading needed for pthread_create and file open?    forums.devshed.com

Hi all, This seems like a pretty basic question, but I just wanted to see what others thought. I am aware that C / C++ do not have a native concept of multi-threading, but of course pthread library is available. i've ben porting some old multi-threaded code over to C++, and I've been using Valgrind to test the race conditions and ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.