@@ -72,7 +72,10 @@ static HANDLE blas_threads [MAX_CPU_NUMBER];
72
72
static DWORD blas_threads_id [MAX_CPU_NUMBER ];
73
73
static volatile int thread_target ; // target num of live threads, volatile for cross-thread reads
74
74
75
- static void legacy_exec (void * func , int mode , blas_arg_t * args , void * sb ){
75
+ //
76
+ //
77
+ //
78
+ static void legacy_exec (void * func , int mode , blas_arg_t * args , void * sb ) {
76
79
77
80
if (!(mode & BLAS_COMPLEX )) {
78
81
#ifdef EXPRECISION
@@ -195,8 +198,9 @@ static void legacy_exec(void *func, int mode, blas_arg_t *args, void *sb){
195
198
}
196
199
}
197
200
198
- // This is a main routine of threads. Each thread waits until job is
199
- // queued.
201
+ //
202
+ // This is a main routine of threads. Each thread waits until job is queued.
203
+ //
200
204
static DWORD WINAPI blas_thread_server (void * arg ) {
201
205
202
206
/* Thread identifier */
@@ -488,7 +492,7 @@ int exec_blas(BLASLONG num, blas_queue_t *queue) {
488
492
489
493
// Shutdown procedure, but user don't have to call this routine. The
490
494
// kernel automatically kill threads.
491
- int BLASFUNC (blas_thread_shutdown )(void ){
495
+ int BLASFUNC (blas_thread_shutdown )(void ) {
492
496
493
497
int i ;
494
498
@@ -563,7 +567,7 @@ void goto_set_num_threads(int num_threads)
563
567
564
568
thread_target = num_threads ;
565
569
566
- //increased_threads = 1;
570
+ //increased_threads = 1;
567
571
if (!blas_server_avail ) {
568
572
// create the kickoff Event
569
573
kickoff_event = CreateEvent (NULL , TRUE, FALSE, NULL );
0 commit comments