pub fn next() -> WindowId {
        let id = unsafe { WINDOW_ID_COUNTER }; ////
        assert!((id as usize) < MAX_WINDOWS, "too many windows");
        unsafe { WINDOW_ID_COUNTER += 1 }; ////    
        ////let id = WINDOW_ID_COUNTER.fetch_add(1, Ordering::Relaxed);
        WindowId(id)
    }
/// Allocate a new, unique window id.
///
/// Do note that if we create 4 billion windows there may be a collision.
Allocate a new, unique window id.
Do note that if we create 4 billion windows there may be a collision.
Allocate a new unique window id . Do note that if we create 4 billion windows there may be a collision .
pub fn next() -> WindowId {
        let id = unsafe { WINDOW_ID_COUNTER }; ////
        assert!((id as usize) < MAX_WINDOWS, "too many windows");
        unsafe { WINDOW_ID_COUNTER += 1 }; ////    
        ////let id = WINDOW_ID_COUNTER.fetch_add(1, Ordering::Relaxed);
        WindowId(id)
    }
pub fn next ( ) -> WindowId { let id = unsafe { WINDOW_ID_COUNTER } ; //// assert ! ( ( id as usize ) MAX_WINDOWS " " ) ; unsafe { WINDOW_ID_COUNTER += 1 } ; ////     ////let id = WINDOW_ID_COUNTER.fetch_add(1, Ordering::Relaxed); WindowId ( id ) }
Allocate a new, unique window id.
Allocate a new unique window id .