static new LockedVar<WatchService> jdk_defaultWatchService_instance; static WatchService jdk_defaultWatchService() { lock jdk_defaultWatchService_instance.lock; if (!jdk_defaultWatchService_instance.has()) jdk_defaultWatchService_instance.set(jdk_newWatchService()); ret jdk_defaultWatchService_instance!; } svoid cleanMeUp_jdk_defaultWatchService { closeAutoCloseable(jdk_defaultWatchService_instance!); }
Began life as a copy of #1019341
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019342 |
Snippet name: | jdk_defaultWatchService |
Eternal ID of this version: | #1019342/5 |
Text MD5: | 3199d8efdaa1ed790181847e676abcce |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-03 12:55:46 |
Source code size: | 431 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 330 / 359 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1019344 - jdk_watchService_start - starts background thread |