04-23-2003
As far as I know there are two kinds of Threads in Java
and if there are more I hope someone would let me know.
There is a runnable Thread. An example would be an applet
thread painting itself in a given time frame to create motion.
The other is a synchronized thread. An example would be
an ATM machine at a bank where only one transaction
may occur on a givin account.
For shell and scripting languages I do not know. In Perl you
would probably use file locking. Can somone verfiy this?
The connection I believe you are talking about is a
connection pool to a database. A basic example of
this would be an array from 1..100 of connections
set up already. The advantage of this is eliminating
the time to setup a connection., since this is a long
process.
Last edited by photon; 04-23-2003 at 12:59 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello there, just a quick question.....Can someone please explain the concept that enables you to establish a connection using the same userId
Thanx (1 Reply)
Discussion started by: BigTool4u2
1 Replies
2. UNIX for Dummies Questions & Answers
Say, for instance, that you are running a website. You are playing around, using netstat, etc. You notice all the people whom are connected to the site. You then wonder if there is a way to kill one or more of these connections. However, they are not PIDs so could you use the kill command? I was... (1 Reply)
Discussion started by: Phobos
1 Replies
3. HP-UX
Hello All,
I have 2 qries about X connections on HP-UX :
1.How/where to determine whether "X connections" to the server are controlled.
2. How/where to determine whether "X11 connection" are tunnelled via ssh.
3. How/where to determine the "Time in minutes before unattended X terminals... (0 Replies)
Discussion started by: abhayh
0 Replies
4. UNIX for Advanced & Expert Users
Hello everybody,
Look, im having problems with connections from other server, i must recieve maximus 5 connections from the other server, when I run 'netstat -A | grep <THE_OTHER_SERVER_IP>' I can see how many connections I have already established, but when they open another connection, i mean... (8 Replies)
Discussion started by: Lestat
8 Replies
5. UNIX for Advanced & Expert Users
Hi all,
How can I get the list of all Threads and the Total count of threads under a particular process ?
Do suggest !!
Awaiting for the replies !!
Thanks
Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies
6. SCO
Hi There
Is there a maximum number of concurrent incoming uucp connections to a server?
SCO Openserver 5.07
Is there a parameter in some config file where this can be changed?
Thanx (5 Replies)
Discussion started by: wjace
5 Replies
7. AIX
I am using AIX 5.3, its a application server, i am giving the support of OS & Hardware only, now i want to check how many connections are connected to my server, means how many people using my server.:confused: (4 Replies)
Discussion started by: reply.ravi
4 Replies
8. Solaris
Hi All!
Please help me with this situation:
I have 3 servers configured with the following network 10.100.48.xx and I have configured on the passwordless connection, and it is working fine.
Now the app vendor ask me to configure a 2nd IP address on each of the 3 servers with a different IP... (4 Replies)
Discussion started by: fretagi
4 Replies
9. Cybersecurity
Hello, one US IP having 1700+ connections when doing:
netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head
1780 *
... *
... *
i want to ask how to debug what this IP does? (3 Replies)
Discussion started by: postcd
3 Replies
10. UNIX for Advanced & Expert Users
I have a static IP 47.21.154.146 and two computers which I wish to talk to each other. The two IPs are 198.168.1.5 and 198.168.1.6.
How do I do it. For example ls from one computer to the other.
TIA (8 Replies)
Discussion started by: Meow613
8 Replies
LEARN ABOUT DEBIAN
ns_connclose
Ns_ConnClose(3aolserver) AOLserver Library Procedures Ns_ConnClose(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_ConnClose - Close an open connection
SYNOPSIS
#include "ns.h"
int
Ns_ConnClose(conn)
ARGUMENTS
Ns_Conn conn (in) Pointer to open connection.
_________________________________________________________________
DESCRIPTION
This function calls the connection's communication driver to close the connection if it is not already closed. It always returns NS_OK.
If the connection is marked for keep-alive, the underlying connection is not actually closed but instead returned to the driver thread to
process additional requests, if any. Connections are automatically marked for keep-alive by setting the NS_CONN_KEEPALIVE flag if the
client supports it by sending an appropriate connection-keepalive header. Keep alive can be disabled before a call to Ns_ConnClose with
the Ns_ConnSetKeepAliveFlag routine with a zero value for the flag argument.
SEE ALSO
Ns_ConnSetKeepAliveFlag(3), Ns_ConnGetKeepAliveFlag(3), Ns_ConnFlush(3)
KEYWORDS
connection, close, keep-alive
AOLserver 4.0 Ns_ConnClose(3aolserver)