G
Guest
I have an ASP.net 2.0 website. This website have a module; Public Module
myModule.
Is all the data in this module shared and not thread safe?
I would like explicitly create a shared object in an asp.net web page;
private shared lockkey string
SyncLock me
lockey = "COBOLCALL"
monitor.enter(lockey)
dosomething() 'calling a single thread dll in cobol
monitor.exit(lockey)
end SyncLock
Would the above code be thread safe?
Arne Garvander
Certified Geek
Professional Data Dude
myModule.
Is all the data in this module shared and not thread safe?
I would like explicitly create a shared object in an asp.net web page;
private shared lockkey string
SyncLock me
lockey = "COBOLCALL"
monitor.enter(lockey)
dosomething() 'calling a single thread dll in cobol
monitor.exit(lockey)
end SyncLock
Would the above code be thread safe?
Arne Garvander
Certified Geek
Professional Data Dude