[Gc] about gc and pthread_win32

Alexander Petrossian (PAF) Alexander.Petrossian at teligent.ru
Mon May 14 23:32:46 PDT 2007

Boehm, Hans @ Tuesday, May 15, 2007 12:04:47 AM (Moscow time):
BH> Thus I'm inclined to just invent
BH> platform-dependent macros for (a) thread comparison (usually integer
BH> comparison, but pthread_equal where needed) and (b) mapping pthread_t to
BH> an identifying integer.

I feel I underestimate the problem, but maybe something trivial like this could be used...

struct Struct {
    int a;
//    int b;

union Bits {
    unsigned long long bits: sizeof(Struct)*8;

Alexander Petrossian (PAF), Software Developer, Teligent Russia

More information about the Gc mailing list