![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I'm hosting a remoting service in IIS. I have a function which I only want one concurrent access at a time. Will this prevent multiple users from accessing the function at a paritcular time? 'Empty object used for sync locking purposes Private Shared MySyncLockObject as new Object 'Only want 1 user to acces function at a time Public Sub SingleThreadedSubProcedure Synclock MySyncLockObject 'Code in here... End Synclock End Sub Will Synclock globally restrict access to the sub to a single thread at a time? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |