core/win32/os.c
/* converts a local_state_t offset to a segment offset */
converts a local_state_t offset to a segment offset
converts a local_state_t offset to a segment offset
ushort
os_tls_offset(ushort tls_offs)
{
    ASSERT_TRUNCATE(tls_offs, ushort, tls_local_state_offs + tls_offs);    
    return (ushort) (tls_local_state_offs + tls_offs);
}
ushort os_tls_offset ( ushort tls_offs ) { ASSERT_TRUNCATE ( tls_offs , ushort , tls_local_state_offs + tls_offs ) ; return ( ushort ) ( tls_local_state_offs + tls_offs ) ; }
converts a local_state_t offset to a segment offset
converts a local_state_t offset to a segment offset