Questions tagged [linuxthreads]
22 questions
0
votes
0 answers
pthread semaphore display nothing on linux
I'm new to linux thread semaphore.
There is no error, no warning, and result output.
What cause this happen?
I suspect semaphore is blocked or infinite loop.
Anyone can see logic incorrect in some place?
initialise sem vlaue : bin_sem = 0,…

Txuver Jhi Wei
- 318
- 2
- 5
- 17
0
votes
1 answer
I am getting a "Fatal Client error; Disconnecting"
I am having trouble with this error when attempting to connect to perforce client
Fatal client error; disconnecting! write: ...: No space left on device
I have tried looking into the contents of this "..." folder but there is not much there.

user2916911
- 1
- 1
0
votes
1 answer
C signal (alternative ?) for multi-threading
I'm sending an array of floats, one by one, over a TCP socket . My Server (receiver - which handles multiple requests simultaneously) program should read data until until receiving the value 0. If the client(sender) doesn't send anything for 10…

55651909-089b-4e04-9408-47c5bf
- 1,134
- 5
- 14
- 31
0
votes
0 answers
how to which function is being executed by worker thread(events/0)
For debugging purposes, I like to know which function is executed by worker thread(events/#0). Is there any way I get this information when the evnets executes ?

Gyan Gupta
- 986
- 8
- 15
0
votes
1 answer
What is "sharing filesystem information"?
What's exactly meant by saying "sharing filesystem information"? What is in "filesystem information"?
(This question arose when I saw the CLONE_FS flag in some linux headers)

mesmerizingr
- 1,417
- 1
- 18
- 25
-1
votes
1 answer
Getting error while connecting to virtual machine
key_exchange_identification: Connection closed by Remote host
trying to ssh from local host but suddenly it get lost in between
and after some time asking to re install again the OS

Krishnapal dubey
- 1
- 1
-1
votes
2 answers
Differentiate between threads called by pthread
A supplied framework is calling my function PartialCodec.
pthread_create(&(pcPthread[iTd]),NULL,PartialCodec,(void *)&pcMCData[iTd]);
I am not allowed to change the framework code. However, inside PartialCodec I want to assign different tasks for…

Rohith Reddy
- 3
- 1