Linux Processes, Threads, scheduling header files


 
Thread Tools Search this Thread
Operating Systems Linux Linux Processes, Threads, scheduling header files
# 1  
Old 06-02-2011
Linux Processes, Threads, scheduling header files

Hello everyone i am new to Linux. could anyone help me with the names of the Linux processes, threads and scheduling header files. I need them to write a documentation on Linux processes and threads. Thanks
# 2  
Old 06-02-2011
A process is a software concept, not a header file. What 'scheduling' could mean here is ambiguous but if you mean for threads, just falls in with threads. Threading at least is an easy answer, pthread.h
# 3  
Old 06-02-2011
Thanks for your reply. pthread.h is used for threads but threads are contained in a process so what i really wanted to what section of the linux code creates the processes
# 4  
Old 06-02-2011
Process creation is handled by execve(2). See fs/exec.c and follow the breadcrumbs.

For more info on a process itself, refer to the declaration of task_struct in include/linux/sched.h

Regards,
Alister
# 5  
Old 06-03-2011
Thanks alister
# 6  
Old 06-07-2011
Quote:
Originally Posted by alister
Process creation is handled by execve(2). See fs/exec.c and follow the breadcrumbs.
fork+execve are both needed to create a new process.

Cheers, Loïc
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Similar Threads: More UNIX and Linux Forum Topics You Might Find Helpful Update

Today I change the DB and the PHP code and rebuilt the database for similar threads at the end of each post, increasing from a max of 5 to a max of 10 similar threads per post: More UNIX and Linux Forum Topics You Might Find Helpful It was quite easy to do: 1. Increased the max size of... (17 Replies)
Discussion started by: Neo
17 Replies

2. UNIX for Dummies Questions & Answers

Checking for processes in Linux

I want to check processes on my Linux server Normally we do a ps-ef|grep "search code" Now we want to check for certain processes which are up and running and we want to get an email, whenever the processes we are checking goes down? How can i implement this? (1 Reply)
Discussion started by: saggiboy10
1 Replies

3. UNIX for Advanced & Expert Users

How to check number of threads running per processor in Linux machine?

I have a machine which has 32 processor but i am really not sure how many threads are running. It has hyperthreading enabled. Is there a way i can find that all 32 processors are being used and how many threads are there in my linux box. Its a 64 bit processor. I am having very high load average... (3 Replies)
Discussion started by: Moon1234
3 Replies

4. UNIX for Dummies Questions & Answers

Merge all csv files in one folder considering only 1 header row and ignoring header of all others

Friends, I need help with the following in UNIX. Merge all csv files in one folder considering only 1 header row and ignoring header of all other files. FYI - All files are in same format and contains same headers. Thank you (4 Replies)
Discussion started by: Shiny_Roy
4 Replies

5. UNIX for Advanced & Expert Users

Monitoring cpu usage of mysql processes/threads/queries without any tool

hi all, i want to monitor mysql processes/threads/queries with respect to cpu usage.how can i do it? show processlist is of no use as no information abt cpu usage is given. plz help (7 Replies)
Discussion started by: rohitmahambre
7 Replies

6. UNIX for Dummies Questions & Answers

Copy files in Multiple Threads

Hello all, I have a directory of files of varying sizes. I want to copy all these files in n number of threads to another directory such that each copy set is more or less the same size. Example : Say /mydirA It has around say 23 files of various sizes. Number of copy... (0 Replies)
Discussion started by: samoo
0 Replies

7. Programming

File access from multiple processes or threads?

Hi, Can anyone give me any idea when multiple processes access a file (like opening it, modifying it etc.) how can the synchronization can be done if they can access the same file at any time? How can this scenario is different from when multiple threads access a same file, modifying it etc- in... (7 Replies)
Discussion started by: sanzee
7 Replies
Login or Register to Ask a Question