Searched refs:priority (Results 51 - 75 of 182) sorted by relevance

12345678

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_setschedparam/
H A D1-2.c81 /* This function checks the thread policy & priority */
82 void check_param( pthread_t thread, int policy, int priority )
90 /* Check the priority is valid */
92 if ( priority == -1 )
94 UNRESOLVED( errno, "Wrong priority value" );
110 if ( t_parm.sched_priority != priority )
112 FAILED( "The thread's priority is not as expected" );
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_kernel_export.h17 const char *threadName, int32_t priority,
/haiku-fatelf/headers/private/storage/sniffer/
H A DRule.h25 /*! \brief A priority and a list of expressions to be used for sniffing out the
41 void SetTo(double priority, std::vector<DisjList*>* list);
/haiku-fatelf/src/libs/compat/freebsd_network/
H A Dsynch.c16 msleep(void* identifier, struct mtx* mutex, int priority, argument
/haiku-fatelf/src/servers/registrar/mime/
H A DRegistrarThread.h18 RegistrarThread(const char *name, int32 priority, BMessenger managerMessenger);
H A DRegistrarThread.cpp28 \param priority The desired priority of the new thread
32 RegistrarThread::RegistrarThread(const char *name, int32 priority, BMessenger managerMessenger) argument
38 , fPriority(priority)
H A DMimeUpdateThread.h32 MimeUpdateThread(const char *name, int32 priority, Database *database,
/haiku-fatelf/src/system/kernel/vm/
H A DVMAnonymousNoSwapCache.cpp62 VMAnonymousNoSwapCache::Commit(off_t size, int priority) argument
81 if (vm_try_reserve_memory(size - committed_size, priority, 1000000)
147 int priority = aspace == VMAddressSpace::Kernel() local
149 if (vm_try_reserve_memory(B_PAGE_SIZE, priority, 0) != B_OK) {
H A DVMAnonymousCache.h42 virtual status_t Resize(off_t newSize, int priority);
44 virtual status_t Commit(off_t size, int priority);
80 status_t _Commit(off_t size, int priority);
/haiku-fatelf/src/apps/cortex/support/
H A DBasicThread.h68 int32 priority=B_LOW_PRIORITY,
73 m_priority(priority),
67 BasicThread( int32 priority=B_LOW_PRIORITY, const char* name=0, bool killOnDelete=true) argument
/haiku-fatelf/src/tests/kits/app/
H A DRegistrarThreadManagerTest.cpp35 TestThread(const char *name, int32 priority, BMessenger managerMessenger) argument
36 : RegistrarThread(name, priority, managerMessenger)
52 TerminatingThread(const char *name, int32 priority, BMessenger managerMessenger) argument
53 : TestThread(name, priority, managerMessenger)
69 WellBehavedInfiniteThread(const char *name, int32 priority, BMessenger managerMessenger) argument
70 : TestThread(name, priority, managerMessenger)
90 NaughtyInfiniteThread(const char *name, int32 priority, BMessenger managerMessenger) argument
91 : TestThread(name, priority, managerMessenger)
/haiku-fatelf/src/bin/gdb/gdb/osf-share/
H A Dcma_sched.h17 * Header file for priority scheduling
34 * Scaling factor for integer priority calculations
51 * Min. num. of ticks between self-adjustments for priority adjusting policies.
59 #define cma__c_prio_n_id 1 /* Very-low-priority class threads */
61 #define cma__c_prio_n_0 1 /* Very low priority throughput quartile */
62 #define cma__c_prio_n_1 2 /* Low priority throughput quartile */
63 #define cma__c_prio_n_2 3 /* Medium priority throughput quartile */
64 #define cma__c_prio_n_3 4 /* High priority throughput quartile */
65 #define cma__c_prio_n_rt 1 /* Real Time priority queues */
80 * must be enough queues to allow one queue for each Ada priority belo
[all...]
/haiku-fatelf/src/system/kernel/
H A DDPC.cpp100 DPCQueue::DefaultQueue(int priority) argument
102 if (priority <= NORMAL_PRIORITY)
105 if (priority <= HIGH_PRIORITY)
113 DPCQueue::Init(const char* name, int32 priority, uint32 reservedSlots) argument
126 fThreadID = spawn_kernel_thread(&_ThreadEntry, name, priority, this);
319 if (sNormalPriorityQueue.Init("dpc: normal priority", NORMAL_PRIORITY,
321 || sHighPriorityQueue.Init("dpc: high priority", HIGH_PRIORITY,
323 || sRealTimePriorityQueue.Init("dpc: real-time priority",
H A Dlow_resource_manager.cpp39 int32 priority; member in struct:low_resource_handler
135 marker.priority = handler->priority;
314 handler->data, resources, handler->priority, symbol);
430 /*! Registers a low resource handler. The higher the \a priority, the earlier
435 uint32 resources, int32 priority)
448 newHandler->priority = priority;
452 // sort it in after priority (higher priority come
434 register_low_resource_handler(low_resource_func function, void* data, uint32 resources, int32 priority) argument
[all...]
/haiku-fatelf/src/system/libroot/os/
H A Dthread.c81 spawn_thread(thread_func entry, const char *name, int32 priority, void *data) argument
97 attributes.priority = priority;
137 set_thread_priority(thread_id thread, int32 priority) argument
139 return _kern_set_thread_priority(thread, priority);
/haiku-fatelf/src/kits/media/
H A DMediaEventLooper.cpp171 // bump or reduce priority when switching from/to offline run mode
172 int32 priority; local
173 priority = (mode == B_OFFLINE) ? min_c(B_NORMAL_PRIORITY, fSetPriority) : fSetPriority;
174 if (priority != fCurrentPriority) {
175 fCurrentPriority = priority;
346 BMediaEventLooper::SetPriority(int32 priority) argument
351 if (priority < 5)
352 priority = 5;
354 if (priority > 120)
355 priority
[all...]
/haiku-fatelf/src/system/boot/loader/
H A Dpartitions.cpp312 float priority local
314 if (priority < 0.0)
317 TRACE((" priority: %ld\n", (int32)(priority * 1000)));
318 if (priority <= bestPriority) {
330 bestPriority = priority;
340 float priority = sFileSystemModules[i]->identify_file_system(this); local
341 if (priority <= 0)
344 if (priority > bestFSPriority) {
346 bestFSPriority = priority;
[all...]
/haiku-fatelf/src/libs/alm/
H A DArea.cpp630 double priority = kPriority; local
632 priority = -1;
637 kLE, max.Height(), priority, priority);
640 fMaxContentHeight->SetPenaltyNeg(priority);
641 fMaxContentHeight->SetPenaltyPos(priority);
648 priority = kPriority;
650 priority = -1;
655 max.Width(), priority, priority);
[all...]
/haiku-fatelf/src/libs/compat/freebsd_network/compat/sys/
H A Deventhandler.h114 #define EVENTHANDLER_REGISTER(name, func, arg, priority) \
115 eventhandler_register(NULL, #name, func, arg, priority)
127 const char *name, void *func, void *arg, int priority);
137 /* Generic priority levels */
/haiku-fatelf/src/system/kernel/scheduler/
H A Dscheduler_tracing.h44 fPriority(thread->priority)
72 fPriority(thread->priority)
93 fPriority(thread->priority),
/haiku-fatelf/headers/build/private/storage/mime/
H A DMimeUpdateThread.h30 MimeUpdateThread(const char *name, int32 priority,
/haiku-fatelf/headers/private/kernel/
H A Dlow_resource_manager.h47 uint32 resources, int32 priority);
H A DDPC.h59 static DPCQueue* DefaultQueue(int priority);
61 status_t Init(const char* name, int32 priority,
/haiku-fatelf/src/kits/package/
H A DRepositoryConfig.cpp42 const BString& baseURL, uint8 priority)
47 fPriority(priority),
69 << "priority=" << fPriority << "\n";
120 = get_driver_parameter(settingsHandle, "priority", NULL, NULL);
199 BRepositoryConfig::SetPriority(uint8 priority) argument
201 fPriority = priority;
41 BRepositoryConfig(const BString& name, const BString& baseURL, uint8 priority) argument
/haiku-fatelf/src/tests/system/kernel/scheduler/
H A Doverride_types.h25 int32 priority; member in struct:thread

Completed in 261 milliseconds

12345678