Nitin Gogia wrote:
> Can anyone tell me :-
> 1. What is a singleton class ?
when u use singleton class,
it can be instantiated only once. for the security porpose it is used !
>
> 2. Difference between Process and Thread ?
Basically threads are the smallest unit of task(process) which share some X
time of cpu.
Threads stores registers and cpu details into stack when they are moved from
running queue to ready queue.
Processes normally are big and share memory, resources, and Activation records
etc.
>
>
> Nitin
I think this should be sufficient .
If you require more details plz. read "Operating Systems by Silberchatz"
or MacMillan.
>
bye
wish you a Happiest New Year !
Paresh
------------E-Card For Paresh M Gheewala----------------
[EMAIL PROTECTED] / Software Engineer ( R & D )
[ Versaware Technologies (I) Pvt. Ltd. ]
'E' Building, Liberty, North Main Road,
Koregoan Park Pune -1 ( Maharastra ) - 411001. India.
Ph : +91-020-4355284 (R - Pune)
+91-0261-420668 (R - Surat)
+91-020-636028 (O)
Visit : http://www.versaware.com
---------------T h a n k Y o u -----------------------
>
>
> -
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
--
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html