File tree Expand file tree Collapse file tree 4 files changed +18
-3
lines changed
common/src/main/java/dev/felnull/fnjl
natives/src/main/java/dev/felnull/fnjln Expand file tree Collapse file tree 4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
package dev .felnull .fnjl ;
2
2
3
3
public class FNJLBuildIn {
4
- protected static final String VERSION = "1.66 " ;
4
+ protected static final String VERSION = "1.67 " ;
5
5
}
Original file line number Diff line number Diff line change @@ -27,6 +27,21 @@ public void runTasks() {
27
27
tasks .poll ().run ();
28
28
}
29
29
30
+ /**
31
+ * タスクを実行する
32
+ *
33
+ * @param max 実行する最大タスク数
34
+ */
35
+ public void runTasks (int max ) {
36
+ int ct = 0 ;
37
+ while (!tasks .isEmpty ()) {
38
+ tasks .poll ().run ();
39
+ ct ++;
40
+ if (ct >= max )
41
+ break ;
42
+ }
43
+ }
44
+
30
45
/**
31
46
* 現在の実行待ちタスクの数
32
47
*
Original file line number Diff line number Diff line change 1
1
fnjl_group =dev.felnull
2
2
fnjl_name =felnull-java-library
3
- fnjl_version =1.66
3
+ fnjl_version =1.67
Original file line number Diff line number Diff line change 1
1
package dev .felnull .fnjln ;
2
2
3
3
public class FNJLNBuildIn {
4
- protected static final String VERSION = "1.66 " ;
4
+ protected static final String VERSION = "1.67 " ;
5
5
6
6
protected static final int NATIVE_LIBRARY_VERSION = 1 ;
7
7
}
You can’t perform that action at this time.
0 commit comments