mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Simplify locking usage
pass references (Windows style) instead of pointers (Posix style) as function arguments. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
extern const std::string engine_info(bool to_uci = false);
|
||||
extern int system_time();
|
||||
extern int cpu_count();
|
||||
extern void timed_wait(WaitCondition*, Lock*, int);
|
||||
extern void timed_wait(WaitCondition&, Lock&, int);
|
||||
extern void prefetch(char* addr);
|
||||
|
||||
extern void dbg_hit_on(bool b);
|
||||
|
||||
Reference in New Issue
Block a user