Application.Lock()/UnLock() or lock(Application)

L

Luis Ruiz Pavón

Hi:

The first pattern is only applied to application state in web applications
while second pattern is a rapid and easily implementation of Monitor (enter()
and exit()) class valid for many situations.

Sorry for my english!!!

Regards

--
Colabora con el foro: Si la respuesta te es de utilidad marca la pregunta
como respondida.
Luis Ruiz Pavón
MCP - MCTS
Blog: http://geeks.ms/blogs/lruiz
 
N

nano2k

Hi:

The first pattern is only applied to application state in web applications
while second pattern is a rapid and easily implementation of Monitor (enter()
and exit()) class valid for many situations.

Sorry for my english!!!

Regards

--
Colabora con el foro: Si la respuesta te es de utilidad marca la pregunta
como respondida.
Luis Ruiz Pavón
MCP - MCTS
Blog:http://geeks.ms/blogs/lruiz









- Afi are text în citat -

Thanks Luis for your response
What is your recommendation. Should we use pattern 1 or pattern 2?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top