[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] "Longer" Thread Periods
kalatwal> For Linux on a 32-bit machine (Pentium): short = 8 bits
kalatwal> int = 16 bits long = 32 bits = one word long long = 64
kalatwal> bits = two words
I've got to be the biggest idiot! I even wrote a one line program
[ ... (printf("%d\n", sizeof(long long)); ...] to determine the number
of bytes in a "long long". The printf produced an "8". Duh: 8x8=64!
Apparently, I "thought" 8x8=32 ... or a byte contained 4 bits ... :-(
Sorry to waste the bandwidth,
-Kenneth