Re: [PATCH] move sleep_millisec to git-compat-util.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Randall S. Becker" <rsbecker@xxxxxxxxxxxxx> writes:

> I just chatted with my team and we think that sticking with the existing
> poll call is probably better in the long term. We are planning to try to get
> git to work using PUT threads - but that is a longer project for a whole
> slew of reasons. It involves pulling all or most of the FLOSS stuff out, or
> making that configurable to use FLOSS when not using threads and not using
> FLOSS when using threads. It might be useful, however, to use usleep()
> instead of poll(NULL) when threading is used on most platforms as it is a
> more effective way of context switching between threads than select().

Yeah, if usleep() is portable enough, that would probably be the
ideal direction to go.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux