09-11-2003
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I removed an external Sun disk (with data on it) from an old 2.6 system and added the disk to another 2.6 system. The new system seems to recognize the system (verified by the format command).
When try to mount I am getting, I got the error:
mount: /dev/dsk/c1t1d0s6 is not this fstype.
I... (3 Replies)
Discussion started by: sunshine
3 Replies
2. Solaris
Hi there,
I need to get a Chinese disclaimer attached to an email on a Solaris 2.7 box. The disclaimer we use is in English and stored as a text file although I've been asked to see if we can add the Chinsese one?
Is it simply just a matter of adding the Chinese locale to the OS or is there... (1 Reply)
Discussion started by: Hayez
1 Replies
3. UNIX for Dummies Questions & Answers
Hello everbody:
I have Sol9, and I need to check its kernekl parameters, do you know how to list them or in which file they can be found.
Thanks in Advance (3 Replies)
Discussion started by: aladdin
3 Replies
4. Solaris
Hi all,
We've upgraded/migrated our production server from Sol 9 on a Sun V480 to Sol 10 on a V490 server.
How do I set/change the following values on Solaris 10:
Solaris 9:
$> locale
LANG=
LC_CTYPE=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1... (2 Replies)
Discussion started by: dewets
2 Replies
5. UNIX for Dummies Questions & Answers
Hello
When I login as root - my prompt is # I want to change this and I understand the setting (PS1=) needs to go into a file called .profile, but I don't know where this file is for the root user. The root users home folder is / when I type env.
Should I be creating a home folder for the... (4 Replies)
Discussion started by: deedaz
4 Replies
6. UNIX for Dummies Questions & Answers
How can i connect a HP laserjet printer directly to Sun Solaris 8 without setting it up as network printer?
i'm a total newbie to Sun systems and i dont quite get how to properly set up a printer on that platform...
I do get this message when i plug in the USB printer:
----------... (2 Replies)
Discussion started by: Ancientmtk
2 Replies
7. Solaris
Hello All:
I am trying to configure mail service on Solaris 10 and I am unable to send using mailx. It appears the server may not be listening on port 25:
bash-3.00# mconnect
connecting to host localhost (127.0.0.1), port 25
connect: Connection refused
services is configured to use port... (7 Replies)
Discussion started by: hoo5091
7 Replies
8. UNIX for Advanced & Expert Users
Greetings Forumers!
I ran into an issue after running luupgrade on v880 running Solaris 8. I want to upgrade to Solaris 10.
When I rebooted the system I noticed the file systems listed as such:
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t1d0s0 ... (2 Replies)
Discussion started by: bluescreen
2 Replies
9. Solaris
Need help with GCC package.
I did downloaded the same from sunfreeware.com for i86, however after doing the unzip I am unable to add the same with pkgadd as I am unable to get the sun standard format as SUNWgcc on my system.
Thanks (4 Replies)
Discussion started by: kumarmani
4 Replies
10. Solaris
Do I need to reinstall/rerun JASS after upgrading from Sol9 to Sol10?
Just wondered if the upgrade procedure overwrote any of the settings etc? (0 Replies)
Discussion started by: psychocandy
0 Replies
LEARN ABOUT CENTOS
pthread_kill
PTHREAD_KILL(3) Linux Programmer's Manual PTHREAD_KILL(3)
NAME
pthread_kill - send a signal to a thread
SYNOPSIS
#include <signal.h>
int pthread_kill(pthread_t thread, int sig);
Compile and link with -pthread.
DESCRIPTION
The pthread_kill() function sends the signal sig to thread, a thread in the same process as the caller. The signal is asynchronously
directed to thread.
If sig is 0, then no signal is sent, but error checking is still performed; this can be used to check for the existence of a thread ID.
RETURN VALUE
On success, pthread_kill() returns 0; on error, it returns an error number, and no signal is sent.
ERRORS
EINVAL An invalid signal was specified.
ESRCH No thread with the ID thread could be found.
CONFORMING TO
POSIX.1-2001.
NOTES
Signal dispositions are process-wide: if a signal handler is installed, the handler will be invoked in the thread thread, but if the dispo-
sition of the signal is "stop", "continue", or "terminate", this action will affect the whole process.
SEE ALSO
kill(2), sigaction(2), sigpending(2), pthread_self(3), pthread_sigmask(3), raise(3), pthreads(7), signal(7)
COLOPHON
This page is part of release 3.53 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 2012-08-19 PTHREAD_KILL(3)