Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

exit_group(2) [linux man page]

EXIT_GROUP(2)						     Linux Programmer's Manual						     EXIT_GROUP(2)

NAME
exit_group - exit all threads in a process SYNOPSIS
#include <linux/unistd.h> void exit_group(int status); DESCRIPTION
This system call is equivalent to exit(2) except that it terminates not only the calling thread, but all threads in the calling process's thread group. RETURN VALUE
This system call does not return. VERSIONS
This call is present since Linux 2.5.35. CONFORMING TO
This call is Linux-specific. NOTES
Since glibc 2.3, this is the system call invoked when the exit(2) wrapper function is called. SEE ALSO
exit(2) COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-11-27 EXIT_GROUP(2)

Check Out this Related Man Page

GETTID(2)						     Linux Programmer's Manual							 GETTID(2)

NAME
gettid - get thread identification SYNOPSIS
#include <sys/types.h> pid_t gettid(void); DESCRIPTION
gettid() returns the caller's thread ID (TID). In a single-threaded process, the thread ID is equal to the process ID (PID, as returned by getpid(2)). In a multithreaded process, all threads have the same PID, but each one has a unique TID. For further details, see the dis- cussion of CLONE_THREAD in clone(2). RETURN VALUE
On success, returns the thread ID of the calling process. ERRORS
This call is always successful. VERSIONS
The gettid() system call first appeared on Linux in kernel 2.4.11. CONFORMING TO
gettid() is Linux-specific and should not be used in programs that are intended to be portable. NOTES
Glibc does not provide a wrapper for this system call; call it using syscall(2). The thread ID returned by this call is not the same thing as a POSIX thread ID (i.e., the opaque value returned by pthread_self(3)). SEE ALSO
clone(2), fork(2), getpid(2) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-04-14 GETTID(2)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

EACCES "Permission denied" while open(2)

guest@ulidtko:~$ id uid=126(guest) gid=134(guest) groups=134(guest) guest@ulidtko:~$ ls -ld /home drwxr-xr-x 8 root root 4096 May 12 19:47 /home guest@ulidtko:~$ ls -l /home ls: cannot open directory /home: Permission denied guest@ulidtko:~$ cat /proc/mounts rootfs / rootfs rw 0 0... (4 Replies)
Discussion started by: ulidtko
4 Replies

2. Ubuntu

Time In Ubuntu

Seem that I am having an issue with the time display in Ubuntu 10.4 Ever so often the clock will stop. What I have figured out is that a zombie process will show up in the TOP display. When I kill the PPID, I get a message asking if I want to restart CLOCK. When I restart, the time and temp... (5 Replies)
Discussion started by: gwallace
5 Replies

3. UNIX and Linux Applications

mkdir: cannot create directory

Hi, I have network mount on two servers. One server I can create any directories without any issues, other server with the similar mount, I am not able to create directories starting with number! Creation, name start with a number: $ mkdir 1212 mkdir: cannot create directory `1212': No such... (12 Replies)
Discussion started by: ./hari.sh
12 Replies

4. Programming

Notification email in C program, via system call? or?

Hello everyone! I'm quite new here, but this forum helped me a lot before without registering :-) I'll go directly to my problem, I have been searching a bit about this issue but I was not successful. I need to write a program in C code to notificate me (to my email) when some action is done... (7 Replies)
Discussion started by: RoNNo
7 Replies

5. Shell Programming and Scripting

How to use an input pipe ?

Hi all, I would like to use properly an input pipe, like this : cat myFile.txt | myCommand.shI always find this solution : while read line; do ...; donebut I have a great lost of performance ! On a big file, with a simple grep, I can spend 2400 times more time ! oO (from 0,023sec to 1m)... (4 Replies)
Discussion started by: LeNouveau
4 Replies

6. Linux

Sendmail takes too long to start and the host is unable to send emails

Hello All, Sendmail takes too long to start and the host is unable to send emails, below are the steps followed, Please let me know if I'm missing anything, is there a debug mode for mailx? # time service sendmail restart Shutting down sm-client: Shutting... (6 Replies)
Discussion started by: lovesaikrishna
6 Replies

7. Ubuntu

kenel panic not syncing

I installed a new kernel 3.0.22 on ubuntu server 11.04 32 bit. when I select the kenel from boot loader it stops when Code: loading initial ramdisk... I added all_generic_ide at the end of linux line and also added dev/sda1 to linux line: root=UUID=dev/sda1 now it says that ... (12 Replies)
Discussion started by: dr_mabuse
12 Replies

8. UNIX for Advanced & Expert Users

Unable to get winbind's "wbinfo -u" to return anything

I'm fairly new to winbind but the issue doesn't seem trivial so it may require more knowledge. Basically, I was able to get a new install of winbind (samba3x) to join the domain without issue and the domain I'm worried about authenticating against is showing as "online" but it's not... (1 Reply)
Discussion started by: thmnetwork
1 Replies

9. Red Hat

Help needed 'Segv'

Red Hat Enterprise 4.5 (32 bit) In strace we see "unexpected reloc type 0x38" What does that code 0x38 mean? mprotect(0x59a000, 42229760, PROT_READ|PROT_WRITE) = 0 writev(2, unexpected reloc type 0x38", 26}, {"", 0}, {"", 0}, {"\n", 1}], 1 0) = 113 exit_group(127) ... (6 Replies)
Discussion started by: Sunusernewbie
6 Replies

10. UNIX for Advanced & Expert Users

Unix script seems to be momentarily creating child process for unknown reason

Hi, I have a unix script that basically has a while loop inside which it checks Oracle database for certain records. If it finds the records, it does some processing and then goes back to the while loop. If it doesnot find any matching records, then it sleeps for 30 seconds and then goes back to... (17 Replies)
Discussion started by: waavman
17 Replies

11. Red Hat

help about qemu-kvm boot with initrd

I used the redhat RHEL6 boot with initrd but it failed, can sb help me # /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 1024 -net nic,model=virtio -net tap,script=/etc/qemu-ifup -initrd /boot/initramfs-2.6.32-279.el6.x86_64.img -kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 -append "root=/dev/ram... (4 Replies)
Discussion started by: yanglei_fage
4 Replies

12. Red Hat

Ldap user does not exists

Hi all, Hope everyone doing good. Let me come to point, i have setup-ed a LDAP server and client machines Server works perfect, while make a search from client machine it too get the Query from LDAP server, But while i switch user it says user not exists # su - babin su: user babin does... (3 Replies)
Discussion started by: babinlonston
3 Replies

13. SuSE

Sssd not starting- failed

Hi, I am unable to start sssd as its getting failed with below error. OS: SLES 11 Version: 3 # uname -r 2.6.32.59-0.7-default # sssd -d4 ldb: unable to dlopen /usr/lib64/ldb/tdb.so : /usr/lib64/ldb/tdb.so: undefined symbol: tdb_transaction_prepare_commit # /etc/init.d/sssd restart... (14 Replies)
Discussion started by: Sridaran
14 Replies

14. Red Hat

Linux bad superblock on /dev/mapper/VolGroup-lv_root

Hi Friends . my linux try to start very slowly after give it this error: mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_root, missing codepage or helper program, or other error in some cases useful info is found in syslog - try dmesg : tail or so Kernel panic... (3 Replies)
Discussion started by: blackjuan
3 Replies