The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
125 views

When was the threading implemented in unix?

Which is the first Unix version or Linux version which implemented threads. And in which version bound and unbound threads were implemented? I know that in current Linux version threads are unbound by ...
0
votes
1answer
21 views

Is it possible that the kernel doesn't let a already ready thread run even when there is a idle processor?

Suppose each thread's affinity is all the processors. Whenever a thread becomes ready, will the kernel attempt to find an idle processor to run it?
0
votes
1answer
32 views

Processor affinity not respected by iperf threads

I'm running iperf in server mode on a Ubuntu box (14.04 LTS). The hardware is quad core with hyper-threading, so I have cores 0-7 available (0 is paired with 4, 1 with 5 and so on). I've set the ...
0
votes
1answer
42 views

Run GNU Octave script on multiple cores

I am computing Monte-Carlo simulations using GNU Octave 4.0.0 on my 4-core PC. The simulation takes almost 4 hours to compute the script for 50,000 times (specific to my problem), which is a lot of ...
2
votes
0answers
385 views

What happens to a multithreaded Linux process if it gets a signal?

If a Unix (Posix) process receives a signal, a signal handler will run. What will happen to it in a multithreaded process? Which thread receives the signal? On my opinion, the signal API should be ...
2
votes
0answers
127 views

multithread handling in AM1808 using embedded Linux

I am using AM1808 ARM9 based board using GCC compiler (UBUNTU 10.04) . I am using Sqlite3 database management. I have some requirement regarding handling threads in background having access on ...
2
votes
0answers
230 views

So the design of client-server separation is not the bottleneck of X Window?

In the answer of this, it mentioned: People also hear that X uses the "network" and think this is going to be a performance bottleneck. "Network" here means local UNIX domain socket, which has ...
1
vote
0answers
49 views

What are scheduler Activations?

I am reading about multi-threading in Peter Baer Galvin's Operating System Concepts; I don't understand the following topics: How LWP (virtual processor) works and schedules threads or maps to ...
1
vote
0answers
2k views

What exactly is the lwp and threads in solaris?

The book "Solaris Internals" says Solaris executes kernel threads for kernel-related tasks, such as interrupt handling, memory page management, device drivers, etc. For user-process execution, kernel ...
0
votes
0answers
18 views

Fast file access for many threads doing read / write operations?

I have a disk with a lot of data on it and I want to write some code such that thousands of threads can operate on the data. Each thread would work on its own individual file. This will speed up ...
0
votes
0answers
18 views

Who controls the thread activity?

I know that there is a program called scheduler which controls the process activity within a system. But which part of the system controls the activity of threads within a process? By the way, do or ...
0
votes
0answers
33 views

Where are thread stacks located in user space?

Let's assume a single threaded-process sets the (user)stack at the end of its assigned userspace (e.g. 1GB) and it starts growing closer to the heap (1GB --> 0). How would it work in a multi threaded ...
0
votes
0answers
207 views

FATAL: ThreadSanitizer can not mmap the shadow memory (something is mapped at 0x2ba33adb9000 < 0x7cf000000000)

I am trying to use thread-sanitizer functionality in my code .For doing so I have used following script : g++ -Wreturn-type -fmessage-length=0 -std=c++11 -c -O2 -fno-strict-aliasing -...