05-21-2015
Please don't ask in other threads for help on other threads.
8 More Discussions You Might Find Interesting
1. Programming
Hi guys, do you know where I can find an information or example
of creating a remote simulation banking application on UNIX.
A client server socket programming using c language to build.
using telnet to run. just a simple , add, withdraw, balance
function. (1 Reply)
Discussion started by: btx
1 Replies
2. UNIX for Dummies Questions & Answers
I'm new to unix and wanted to know if there are UNIX tools/programs on the market that can be loaded onto my laptop or external hard drive that I can use to practice and test what I'm learning. :) (2 Replies)
Discussion started by: Xman0ne
2 Replies
3. HP-UX
Hello Guys!
I am new from unix and I have a litle knowledge to some of the commands.
my query is how can I view the network configuration of the station like
the IP address, the NIS name , DNS etc.
in windows we can get this info with the command ifconfig /all
thanks, (1 Reply)
Discussion started by: eykyn17
1 Replies
4. UNIX for Dummies Questions & Answers
Hi guys
i am new to linux, infact i have heared about it for a while now but never got it. I am prepared to give it a try but i need to know the system requirements. i have a 32bit, win xp, amd antlon 1.8ghz . will linux run fine on this system or do i need a new computer.. i have always... (2 Replies)
Discussion started by: rapzkilla
2 Replies
5. HP-UX
Hi Guys,
I'm new to HP-UX and i want installation procedure step by step.If i want take up the hp exam can any one give ful info about exam with new exam codes.I hav good knowlwdge on linux is it HP is similar to linux.If anybody having docs on HP-UX...pls reply me
Regards,
Vinay (2 Replies)
Discussion started by: vinay@wipro
2 Replies
6. Shell Programming and Scripting
I retrieved values from postgresql database
return the following line
name ------------ myname (1 row)
how can I extract "myname" out of the line?
thanks (11 Replies)
Discussion started by: uativan
11 Replies
7. UNIX for Dummies Questions & Answers
Well, i am here coz i have this problem: a guy is pinging me so my internet go down when he wants and the same guy is nuking my ventrilo server that i rent in a good website. I want to know how to protect me against this attack and if is possible do the same to him, i know this guy is using a payed... (2 Replies)
Discussion started by: Psike
2 Replies
8. SuSE
Hi,
I want to know where can I find the fault information of the system. I mean the event that the system may be occur, not the event happened on my system. Maybe there are some libraries or other website about logs collections. Thanks a lot.
Best Wishes! (0 Replies)
Discussion started by: zhaoyy
0 Replies
LEARN ABOUT DEBIAN
xlockdisplay
XInitThreads(3) XLIB FUNCTIONS XInitThreads(3)
NAME
XInitThreads, XLockDisplay, XUnlockDisplay - multi-threading support
SYNTAX
Status XInitThreads(void);
void XLockDisplay(Display *display);
void XUnlockDisplay(Display *display);
ARGUMENTS
display Specifies the connection to the X server.
DESCRIPTION
The XInitThreads function initializes Xlib support for concurrent threads. This function must be the first Xlib function a multi-threaded
program calls, and it must complete before any other Xlib call is made. This function returns a nonzero status if initialization was suc-
cessful; otherwise, it returns zero. On systems that do not support threads, this function always returns zero.
It is only necessary to call this function if multiple threads might use Xlib concurrently. If all calls to Xlib functions are protected
by some other access mechanism (for example, a mutual exclusion lock in a toolkit or through explicit client programming), Xlib thread ini-
tialization is not required. It is recommended that single-threaded programs not call this function.
The XLockDisplay function locks out all other threads from using the specified display. Other threads attempting to use the display will
block until the display is unlocked by this thread. Nested calls to XLockDisplay work correctly; the display will not actually be unlocked
until XUnlockDisplay has been called the same number of times as XLockDisplay. This function has no effect unless Xlib was successfully
initialized for threads using XInitThreads.
The XUnlockDisplay function allows other threads to use the specified display again. Any threads that have blocked on the display are
allowed to continue. Nested locking works correctly; if XLockDisplay has been called multiple times by a thread, then XUnlockDisplay must
be called an equal number of times before the display is actually unlocked. This function has no effect unless Xlib was successfully ini-
tialized for threads using XInitThreads.
SEE ALSO
Xlib - C Language X Interface
X Version 11 libX11 1.5.0 XInitThreads(3)