Search Results

Search: Posts Made By: garag11
4,770
Posted By garag11
yes, threadpool is a struct.Ok this is right,the...
yes, threadpool is a struct.Ok this is right,the first value should be an adress,so I changed it.But this is not the problem I have.
Now, try to declare a function prototype:
typedef void...
4,770
Posted By garag11
I declare foo2 before main as this: void * ...
I declare foo2 before main as this: void * foo2(void *arg);
foo2 is a function which a thread from thread pool will execute.
I correct some things and the new errors are:

c:63: error:...
4,770
Posted By garag11
difficult problem with function declaration
Hello,
I have a problem with the declaration of a function.
This is how I declare the function :

c:63: void foo(threadpool *tp,void (*func)(void*), (void*)arg);

Inside main, I call it like...
1,240
Posted By garag11
Great,Thanks a lot! although so obvious i couldnt...
Great,Thanks a lot! although so obvious i couldnt see it!
1,240
Posted By garag11
thread pool problem
hello everyone. I want to implement a thread pool, with 10 threads most. Inside main,I call a function (lets say it foo) wich creates (if it is needed) or uses an existing thread from the pool and...
5,481
Posted By garag11
Thanx!
Ok, I dont know why (and if you could tell me I would appreciate it because I m curious) but it worked with getcwd.Now everything is ok.
thnx a lot and very sorry for the doubleposting!
Forum: Programming 12-19-2010
1,982
Posted By garag11
lstat problem
Hello,
I have a little problem with lstat.
I use the find utility, to find a path for a file in my system.
After that,I take that path and I pass it in lstat, but lstat returns -1, and this error...
5,481
Posted By garag11
lstat problem
Hello,
I have a little problem with lstat.
I use the find utility, to find a path for a file in my system.
After that,I take that path and I pass it in lstat, but lstat returns -1, and this error...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy