标签:的问答
在收集自己的物品时,我如何终止工人的read子?
原文:How do I terminate a worker thread when the owning object is collected?
原文:How do I terminate a worker thread when the owning object is collected?
I have an object that has a BackgroundWorker thread (purely a queue of Action delegates). i.e., it s the common, simple single-producer single-consumer scenario. When the single producer is collected,...
为什么总是需要在具有IDisposable成员的对象上实现IDisposaable?
原文:Why is it always necessary to implement IDisposable on an object that has an IDisposable member?
原文:Why is it always necessary to implement IDisposable on an object that has an IDisposable member?
据我所知,这是一个公认的规则,如果你有一个类a,它的成员m是IDisposable,a应该实现IDisposaable,它应该在其中调用m.Dispose()。
最终确定者能达到何种目标?
原文:What if a finalizer makes an object reachable?
原文:What if a finalizer makes an object reachable?
在 Java,当要收集垃圾时,就要求最终确定一个物体(高于它)。 但是,如果最终确定者再次使目标得以实现,那么......
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding