logoalt Hacker News

CyberDildonicstoday at 3:00 AM1 replyview on HN

It absolutely can make a difference because if you have locks that are supposed to sync or wake up other processes you care about latency not cpu usage.


Replies

Dylan16807today at 3:12 AM

What specifically are you saying can make a difference?

I'm saying that extra overhead from making your lock work across processes should be very tiny. That overhead shouldn't add much more than a microsecond in either latency or CPU usage, compared to an in-process lock.

show 1 reply