Lines Matching defs:ids
6 * allocator is that it never re-uses ids, which causes long-lived
41 XID ids[IDS_PER_STACK]; /* Array of free identifiers. */
43 * in ids are currently in use. */
44 TkDisplay *dispPtr; /* Display to which ids belong. */
138 return stackPtr->ids[stackPtr->numUsed];
142 * No free ids in the stack: just get one from the default
202 stackPtr->ids[stackPtr->numUsed] = xid;
212 * This procedure is invoked instead of TkFreeXId for window ids.
223 * Freeing window ids is very tricky because there could still be
249 * the window ids until the final XDestroyWindow call. To make sure
254 * seem to have problems with ids getting reused too quickly. I'm
256 * recycling of ids appears to eliminate it. Therefore, we wait
258 * before reusing the ids.
271 * Put the window id on a separate stack of window ids, rather
289 stackPtr->ids[stackPtr->numUsed] = w;
309 * See if we can now free up all the accumulated ids of
316 * If it's safe to move the window ids back to the main free
336 * See if it's safe to recycle the window ids. It's safe if:
364 * These ids look safe to recycle, but we still need to delay a bit
376 * It's still not safe to free up the ids. Try again a bit later.
391 * window ids. It takes all of the ids indicated by its
398 * Window ids get added to the main free list for their display.