File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -152,17 +152,6 @@ int git_cond_signal(git_cond *cond)
152152 return 0 ;
153153}
154154
155- int pthread_num_processors_np (void )
156- {
157- DWORD_PTR p , s ;
158- int n = 0 ;
159-
160- if (GetProcessAffinityMask (GetCurrentProcess (), & p , & s ))
161- for (; p ; p >>= 1 )
162- n += p & 1 ;
163-
164- return n ? n : 1 ;
165- }
166155
167156typedef void (WINAPI * win32_srwlock_fn )(GIT_SRWLOCK * );
168157
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ int git_cond_free(git_cond *);
5757int git_cond_wait (git_cond * , git_mutex * );
5858int git_cond_signal (git_cond * );
5959
60- int pthread_num_processors_np (void );
61-
6260int git_rwlock_init (git_rwlock * GIT_RESTRICT lock );
6361int git_rwlock_rdlock (git_rwlock * );
6462int git_rwlock_rdunlock (git_rwlock * );
You can’t perform that action at this time.
0 commit comments