Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 724 for thread_ (0.19 sec)

  1. src/cmd/cgo/internal/test/cgo_thread_lock.go

    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    			t.Fatalf("cgo has not locked OS thread")
    		}
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/cthread_windows.c

    	return 0;
    }
    
    void
    doAdd(int max, int nthread)
    {
    	enum { MaxThread = 20 };
    	int i;
    	uintptr_t thread_id[MaxThread];
    	
    	if(nthread > MaxThread)
    		nthread = MaxThread;
    	for(i=0; i<nthread; i++)
    		thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0);
    	for(i=0; i<nthread; i++) {
    		WaitForSingleObject((HANDLE)thread_id[i], INFINITE);
    		CloseHandle((HANDLE)thread_id[i]);
    	}
    }
    
    __stdcall
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/cthread_unix.c

    	for(i=0; i<nthread; i++)
    		pthread_join(thread_id[i], 0);		
    }
    
    static void*
    goDummyCallbackThread(void* p)
    {
    	int i, max;
    
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		goDummy();
    	return NULL;
    }
    
    int
    callGoInCThread(int max)
    {
    	pthread_t thread;
    
    	if (pthread_create(&thread, NULL, goDummyCallbackThread, (void*)(&max)) != 0)
    		return -1;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

                thread.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER);
                return thread;
              }
            };
    
        Thread thread =
            builder.setThreadFactory(backingThreadFactory).build().newThread(monitoredRunnable);
    
        assertEquals(THREAD_NAME, thread.getName());
        assertEquals(THREAD_PRIORITY, thread.getPriority());
        assertEquals(THREAD_DAEMON, thread.isDaemon());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

                thread.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER);
                return thread;
              }
            };
    
        Thread thread =
            builder.setThreadFactory(backingThreadFactory).build().newThread(monitoredRunnable);
    
        assertEquals(THREAD_NAME, thread.getName());
        assertEquals(THREAD_PRIORITY, thread.getPriority());
        assertEquals(THREAD_DAEMON, thread.isDaemon());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

            block_fetcher_(block_fetcher),
            timer_seconds_(timer_seconds),
            pruning_thread_(nullptr,
                            [](TF_Thread* thread) { TF_JoinThread(thread); }) {
        if (max_staleness_ > 0) {
          TF_ThreadOptions thread_options;
          TF_DefaultThreadOptions(&thread_options);
          pruning_thread_.reset(
              TF_StartThread(&thread_options, "TF_prune_FBC", PruneThread, this));
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
        private static final THREAD_POOL = Executors.newCachedThreadPool()
    
        private static final List<String> MONITORED_FILES = [
            "subprojects/docs/src/docs/release/notes.md",
            "platforms/documentation/docs/src/docs/release/notes.md",
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            final List<Map<String, Object>> resList = new ArrayList<>();
            for (Map<String, Object> elem : logList) {
                logger.info("config_id: {}, thread_name: {}", configId, elem.get("thread_name"));
                if (elem.containsKey("thread_name") && elem.get("thread_name").toString().startsWith("Crawler-" + configId.replace('-', '_'))) {
                    resList.add(elem);
                }
            }
            return resList;
        }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/Constants.java

        public static final int DEFAULT_INTERVAL_TIME_FOR_FS = 1000;
    
        public static final int DEFAULT_INTERVAL_TIME_FOR_WEB = 10000;
    
        public static final int DEFAULT_NUM_OF_THREAD_FOR_FS = 5;
    
        public static final int DEFAULT_NUM_OF_THREAD_FOR_WEB = 1;
    
        public static final long DEFAULT_CRAWLING_EXECUTION_INTERVAL = 5000L;
    
        public static final String CRAWLING_USER_AGENT_PREFIX = "Mozilla/5.0 (compatible; Fess/";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                    }
                    wConfig.setName(configName);
                    wConfig.setNumOfThread(getDefaultInteger("default.config.web.numOfThread", Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB));
                    wConfig.setSortOrder(getDefaultInteger("default.config.web.sortOrder", 1));
                    wConfig.setUpdatedBy(username);
                    wConfig.setUpdatedTime(now);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top