2004年2月11日

Remoting with thread safe

摘要: public class Service : MarshalByRefObject{ private static int seed = 0; private int id; public Service() { //seed是static,能锁定吗? //这样的代码具备,线程安全吗?我很担心。 //改成lock(seed) ... 阅读全文

posted @ 2004-02-11 17:06 Meyer 阅读(561) 评论(0) 推荐(0) 编辑

导航