08-28-2002
Saucierm,
It would be better to start a new thread instead of posting to this one - only so it doesn't get confusing for the folks trying to help out. What OS are you running?
9 More Discussions You Might Find Interesting
1. IP Networking
I have two unix systems. One is Redhat Linux and the other is
Sun Solairs.
I am runing PPP on my Linux machine but not on my Solaris
machine. TCP/IP connects the two machines.
I want to pick up PPP on both machines simultaneously with
only one dial up connection on my linux machine.
... (4 Replies)
Discussion started by: Photon_Blast
4 Replies
2. Programming
I am developing a Network Appliation to monitor computers in a network.
Specs are
App monitors the current web page viewed in each system
App also can shutdown the computer in the network
App can show all process run by each computer in the network
I am now confused how to start my... (2 Replies)
Discussion started by: valaparambil88
2 Replies
3. IP Networking
hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies
4. UNIX and Linux Applications
Hi,
I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan.
For that I must access to network interface to develope my personal stack based on standard 802.15.4.
Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies
5. Solaris
I've one Netra 240
After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces.
I tried to restart and plumb/unplumb with no luck.
ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies
6. Red Hat
Hi,
I have 2 machines in production environment:
1. redhat machine for application
2. DB machine (oracle)
The application doing a lot of small read&writes from and to the DB machine.
The problem is that after some few hours the network from the application to the DB becomes very slow and... (4 Replies)
Discussion started by: moshesa
4 Replies
7. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
8. Shell Programming and Scripting
Hello,
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.
i have written the below code but it doesn't work, but when i execute the nc command outside the script it works fine.
please help me where i am... (8 Replies)
Discussion started by: sknovice
8 Replies
9. IP Networking
ello,
i am new to the networking side.
I have a requirement to check the tcp network connectivity between server it's running on and the list of host's and ports combination.
please help me where i am going wrong.
my code:
#!/bin/bash
#read the file line by line
cd "$1"
cat... (17 Replies)
Discussion started by: sknovice
17 Replies
LEARN ABOUT NETBSD
pthread_suspend_np
PTHREAD_SUSPEND_NP(3) BSD Library Functions Manual PTHREAD_SUSPEND_NP(3)
NAME
pthread_suspend_np, pthread_resume_np -- suspend/resume the given thread
LIBRARY
POSIX Threads Library (libpthread, -lpthread)
SYNOPSIS
#include <pthread.h>
int
pthread_suspend_np(pthread_t thread);
int
pthread_resume_np(pthread_t thread);
DESCRIPTION
The pthread_suspend_np() function suspends the thread given as argument. If thread is the currently running thread as returned by
pthread_self(3), the function fails and returns EDEADLK. Otherwise, it removes the named thread from the running queue, and adds it to the
suspended queue. The thread will remain blocked until pthread_resume_np() is called on it. In other words, pthread_resume_np() resumes the
thread given as argument, if it was suspended.
RETURN VALUES
Both functions return 0 on success and an error number indicating the reason for the failure.
COMPATIBILITY
These functions are non-standard extensions.
ERRORS
The pthread_suspend_np() function may fail if:
[EDEADLK] The thread requested to suspend was the currently running thread.
[ESRCH] The supplied thread was invalid.
The pthread_resume_np() function may fail if:
[ESRCH] The supplied thread was invalid.
NOTES
Some pthread_suspend_np() implementations may allow suspending the current thread. This is dangerous, because the semantics of the function
would then require the scheduler to schedule another thread, causing a thread context switch. Since that context switch can happen in a sig-
nal handler by someone calling pthread_suspend_np() in a signal handler, this is currently not allowed.
In pthread_resume_np() the NetBSD implementation does not check if the thread argument is not already suspended. Some implementations might
return an error condition if pthread_resume_np() is called on a non-suspended thread.
SEE ALSO
pthread_attr_setcreatesuspend_np(3), pthread_self(3)
BSD
July 9, 2010 BSD