@@ -72,7 +72,10 @@ static HANDLE blas_threads [MAX_CPU_NUMBER];
7272static DWORD blas_threads_id [MAX_CPU_NUMBER ];
7373static volatile int thread_target ; // target num of live threads, volatile for cross-thread reads
7474
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 ) {
7679
7780 if (!(mode & BLAS_COMPLEX )) {
7881#ifdef EXPRECISION
@@ -195,8 +198,9 @@ static void legacy_exec(void *func, int mode, blas_arg_t *args, void *sb){
195198 }
196199}
197200
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+ //
200204static DWORD WINAPI blas_thread_server (void * arg ) {
201205
202206 /* Thread identifier */
@@ -488,7 +492,7 @@ int exec_blas(BLASLONG num, blas_queue_t *queue) {
488492
489493// Shutdown procedure, but user don't have to call this routine. The
490494// kernel automatically kill threads.
491- int BLASFUNC (blas_thread_shutdown )(void ){
495+ int BLASFUNC (blas_thread_shutdown )(void ) {
492496
493497 int i ;
494498
@@ -563,7 +567,7 @@ void goto_set_num_threads(int num_threads)
563567
564568 thread_target = num_threads ;
565569
566- //increased_threads = 1;
570+ //increased_threads = 1;
567571 if (!blas_server_avail ) {
568572 // create the kickoff Event
569573 kickoff_event = CreateEvent (NULL , TRUE, FALSE, NULL );
0 commit comments