Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> After that, 510 bytes are used for the SHARED lock. A byte range is used here to accommodate older Windows versions with mandatory locks.

I was curious how old, and... wow, that code is for Windows versions that predate the NT kernel (Win95/98/ME). I'm surprised that it's still around, but the comment does a great job of explaining it.

https://github.com/sqlite/sqlite/blob/3cf46ee508e97b46736a26...



The NT kernel is older than you think and predates Windows 95. NT 3.1 was released way back in 93!


True, I misspoke; I was clumsily trying to describe the time before the NT kernel was used in consumer versions of Windows.


Yes. And I personally also consider NT 4.0 the first "mainstream" NT, even though it wasn't quite consumer. I didn't see a lot of NT 3.x in the wild.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: