03-06-2008
I'd like to do some kind of report every X seconds, the server will catch all the information and process it.
May be I can develop some kind of app to automate that.
using telnet i'm not sure I can create a thread both sides to acomplish that. Is that possible?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can i communicate with Domino Server using Unix. I want to use LDAP and JAVA.
can u pls help me out.
Thanks
GP (1 Reply)
Discussion started by: gyanpsingh
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am fairly new to Unix. My school computers have only UNIX installed on them, and I wish to use them to do some parallel computing. To do so, I need to transfer the files from my Windows computer to my Unix account on a different computer.
I am using the SSH login with the Putty client.... (2 Replies)
Discussion started by: Duchesne
2 Replies
3. UNIX for Dummies Questions & Answers
Strange one this...
One of our contacts switched FTP servers, a different IP and now using port 2121 instead of 21.
Changed the details in a Windows application using the username & password provided and it works no problem.
Tried to FTP through Unix and although I can connect to the... (2 Replies)
Discussion started by: macca74
2 Replies
4. Web Development
Hi all,
Im writing an app that will contact a specified gateway and retrieve info onto our server and perform manipulations on it then return the result back to the gateway for further operations...
But I'm a newbie and dont have much of an experience in network programming...
Would like to... (0 Replies)
Discussion started by: wrapster
0 Replies
5. Red Hat
Hi all,
I installed red hat 2.6.9-5 and when I am trying to ping it.I am able to ping any other machine in the network but unable to do vice-versa(means unable to ping this machine from any other machine) and getting the message --
please provide your valuable suggestions ... (2 Replies)
Discussion started by: smartgupta
2 Replies
6. UNIX for Dummies Questions & Answers
Hi guys ,
I want to develop a web page which is capable of executing the command on os and show the output on the browser.(Which involves reading and writing too.)
I m using jsp language to develop the web page. How would i use it to communicate with my linux server?
Any... (3 Replies)
Discussion started by: pinga123
3 Replies
7. Windows & DOS: Issues & Discussions
So I have been playing around with some code and thought I would tap
the vast Linux knowledge here.
My company has a bunch of servers running Linux on the Amazon cloud. I have
created a Windows application in C++ that acts like a remote desktop
to the Linux servers. When I run it it connects... (3 Replies)
Discussion started by: bobmanc
3 Replies
8. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
9. Shell Programming and Scripting
I have two servers linux and windows and i want to compare files which are in unix server that to windows server and find out which are missing
that means i have 50 files with 6000 records in each file on linux server and i want to verify weather these 50 files are present in windows server... (5 Replies)
Discussion started by: sagar_1986
5 Replies
LEARN ABOUT DEBIAN
pthread_mutexattr_gettype
PTHREAD_MUTEXATTR(3) Library Functions Manual PTHREAD_MUTEXATTR(3)
NAME
pthread_mutexattr_init, pthread_mutexattr_destroy, pthread_mutexattr_settype, pthread_mutexattr_gettype - mutex creation attributes
SYNOPSIS
#include <pthread.h>
int pthread_mutexattr_init(pthread_mutexattr_t *attr);
int pthread_mutexattr_destroy(pthread_mutexattr_t *attr);
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int kind);
int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *kind);
DESCRIPTION
Mutex attributes can be specified at mutex creation time, by passing a mutex attribute object as second argument to pthread_mutex_init(3).
Passing NULL is equivalent to passing a mutex attribute object with all attributes set to their default values.
pthread_mutexattr_init initializes the mutex attribute object attr and fills it with default values for the attributes.
pthread_mutexattr_destroy destroys a mutex attribute object, which must not be reused until it is reinitialized. pthread_mutexattr_destroy
does nothing in the LinuxThreads implementation.
LinuxThreads supports only one mutex attribute: the mutex kind, which is either PTHREAD_MUTEX_FAST_NP for ``fast'' mutexes,
PTHREAD_MUTEX_RECURSIVE_NP for ``recursive'' mutexes, or PTHREAD_MUTEX_ERRORCHECK_NP for ``error checking'' mutexes. As the NP suffix
indicates, this is a non-portable extension to the POSIX standard and should not be employed in portable programs.
The mutex kind determines what happens if a thread attempts to lock a mutex it already owns with pthread_mutex_lock(3). If the mutex is of
the ``fast'' kind, pthread_mutex_lock(3) simply suspends the calling thread forever. If the mutex is of the ``error checking'' kind,
pthread_mutex_lock(3) returns immediately with the error code EDEADLK. If the mutex is of the ``recursive'' kind, the call to
pthread_mutex_lock(3) returns immediately with a success return code. The number of times the thread owning the mutex has locked it is
recorded in the mutex. The owning thread must call pthread_mutex_unlock(3) the same number of times before the mutex returns to the
unlocked state.
The default mutex kind is ``fast'', that is, PTHREAD_MUTEX_FAST_NP.
pthread_mutexattr_settype sets the mutex kind attribute in attr to the value specified by kind.
pthread_mutexattr_gettype retrieves the current value of the mutex kind attribute in attr and stores it in the location pointed to by kind.
RETURN VALUE
pthread_mutexattr_init, pthread_mutexattr_destroy and pthread_mutexattr_gettype always return 0.
pthread_mutexattr_settype returns 0 on success and a non-zero error code on error.
ERRORS
On error, pthread_mutexattr_settype returns the following error code:
EINVAL kind is neither PTHREAD_MUTEX_FAST_NP nor PTHREAD_MUTEX_RECURSIVE_NP nor PTHREAD_MUTEX_ERRORCHECK_NP
AUTHOR
Xavier Leroy <Xavier.Leroy@inria.fr>
SEE ALSO
pthread_mutex_init(3), pthread_mutex_lock(3), pthread_mutex_unlock(3).
LinuxThreads PTHREAD_MUTEXATTR(3)