Searched refs:hooks (Results 1 - 3 of 3) sorted by relevance
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ApplicationShutdownHooks.java | 30 * Class to track and run user level shutdown hooks registered through 38 /* The set of registered hooks */ 39 private static IdentityHashMap<Thread, Thread> hooks; field in class:ApplicationShutdownHooks 50 hooks = new IdentityHashMap<>(); 52 // application shutdown hooks cannot be added if 54 hooks = null; 65 if(hooks == null) 71 if (hooks.containsKey(hook)) 74 hooks.put(hook, hook); 81 if(hooks [all...] |
H A D | Shutdown.java | 48 // The system shutdown hooks are registered with a predefined slot. 49 // The list of shutdown hooks is as follows: 51 // (1) Application hooks 54 private static final Runnable[] hooks = new Runnable[MAX_SYSTEM_HOOKS]; field in class:Shutdown 56 // the index of the currently running shutdown hook to the hooks array 81 * hooks. 96 if (hooks[slot] != null) 107 hooks[slot] = hook; 111 /* Run all registered shutdown hooks 121 hook = hooks[ [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | extutil.h | 181 XExtensionHooks* /* hooks */, 212 #define XEXT_GENERATE_FIND_DISPLAY(proc,extinfo,extname,hooks,nev,data) \ 218 dpyinfo = XextAddDisplay (extinfo,dpy,extname,hooks,nev,data); \
|
Completed in 35 milliseconds