Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Windows用のスレッドを消した

  • Loading branch information...
commit a8a878d9fb5dcf4979b5cef5f2f4add8242e0650 1 parent 7a3e86e
@nonowarn authored
Showing with 0 additions and 23 deletions.
  1. +0 −23 src/com/group_finity/mascot/Manager.java
View
23 src/com/group_finity/mascot/Manager.java
@@ -62,29 +62,6 @@
*/
private transient Thread thread;
- public Manager() {
-
- // これは Windows 上で動く Java のバグを修正するための処置
- // 短い長さの Thread.sleep を頻繁に呼ぶと Windows の時計が狂う
- // 長い Thread.sleep を呼んでいるとこの問題を回避できる.
- new Thread() {
- {
- this.setDaemon(true);
- this.start();
- }
-
- @Override
- public void run() {
- while (true) {
- try {
- Thread.sleep(Integer.MAX_VALUE);
- } catch (final InterruptedException ex) {
- }
- }
- }
- };
- }
-
/**
* スレッドを開始する.
*/
Please sign in to comment.
Something went wrong with that request. Please try again.