Searched refs:B_TIMEOUT (Results 1 - 25 of 32) sorted by relevance

12

/haiku/src/libs/glut/
H A DglutBlocker.cpp55 acquire_sem_etc(eSem, 1, B_TIMEOUT, usecs); // wait for next event or timeout
/haiku/src/tests/kits/media/soundplayer/
H A DSoundPlayerTest.cpp89 if (B_OK == acquire_sem_etc(finished,1, B_TIMEOUT, 0))
100 if (B_OK == acquire_sem_etc(finished,1, B_TIMEOUT, 0))
113 if (B_OK == acquire_sem_etc(finished,1, B_TIMEOUT, 0))
123 } while (B_OK != acquire_sem_etc(finished,1, B_TIMEOUT, 0));
/haiku/src/tests/kits/app/blooper/
H A DIsMessageWaitingTest.cpp82 count = port_buffer_size_etc(_get_looper_port_(&Looper), B_TIMEOUT, 0);
143 count = port_buffer_size_etc(_get_looper_port_(Looper), B_TIMEOUT, 0);
/haiku/src/servers/app/
H A DDirectWindowInfo.cpp177 status = acquire_sem_etc(fAcknowledgeSem, 1, B_TIMEOUT, 500000);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.c39 size_t sz = read_port_etc(pid, &code, buffer, 1024, B_TIMEOUT, 1000 * 1000);
186 if(B_OK != write_port_etc(pid, 0, buf, strlen(buf), B_TIMEOUT, 0))
/haiku/src/tests/add-ons/kernel/file_systems/bfs/queries/
H A Dtest.cpp79 ssize_t bytes = read_port_etc(port,&msg,buffer,sizeof(buffer),B_TIMEOUT,1000000);
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DBTCoreData.cpp142 event, size, B_TIMEOUT, 1 * 1000 * 1000);
/haiku/src/add-ons/kernel/drivers/network/wb840/
H A Ddevice.c230 status = acquire_sem_etc(device->txSem, 1, B_TIMEOUT, ETHER_TRANSMIT_TIMEOUT);
296 data->blockFlag = *(int32*)arg ? B_TIMEOUT : 0;
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DRadeonAddOn.cpp347 &msg, sizeof( msg ), B_TIMEOUT, 10000000 );
353 reply_size = port_buffer_size_etc( reply_port, B_TIMEOUT, 10000000 );
/haiku/src/add-ons/accelerants/common/
H A Di2c.c112 return B_TIMEOUT;
229 return B_TIMEOUT;
/haiku/src/kits/debugger/target_host_interface/local/
H A DLocalTargetHostInterface.cpp255 buffer, sizeof(buffer), B_TIMEOUT, waitingTeams.empty()
/haiku/src/kits/interface/
H A DPopUpMenu.cpp465 while (acquire_sem_etc(sem, 1, B_TIMEOUT, 50000) != B_BAD_SEM_ID)
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DKeyCommandMap.cpp354 write_port_etc(fPort, 0, buffer, size, B_TIMEOUT, 250000);
/haiku/src/kits/media/
H A DMediaEventLooper.cpp401 write_port_etc(ControlPort(), GENERAL_PURPOSE_WAKEUP, 0, 0, B_TIMEOUT, 0); local
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c302 err = acquire_sem_etc(d->rqSem, 1, B_CAN_INTERRUPT | B_TIMEOUT,
402 err = acquire_sem_etc(ir->Sem, 1, B_CAN_INTERRUPT | B_TIMEOUT, 1000000);
582 err = acquire_sem_etc(it->Sem, 1, B_CAN_INTERRUPT | B_TIMEOUT, 1000000);
/haiku/src/kits/app/
H A DLinkReceiver.cpp235 fRecvBufferSize, B_TIMEOUT, timeout);
/haiku/src/add-ons/kernel/drivers/disk/floppy/pc_floppy/
H A Dfloppy_ctrl.c272 if ((err = acquire_sem_etc(flp->completion, 1, B_TIMEOUT, FLOPPY_CMD_TIMEOUT)) < B_OK) {
279 acquire_sem_etc(flp->completion, 1, B_TIMEOUT, FLOPPY_CMD_TIMEOUT);
/haiku/src/apps/cortex/NodeManager/
H A DNodeGroup.cpp1435 B_TIMEOUT,
1621 B_TIMEOUT,
/haiku/src/add-ons/kernel/drivers/network/pegasus/
H A Ddriver.c498 blockFlag = dev->nonblocking ? B_TIMEOUT : 0;
569 if ((status = acquire_sem_etc(dev->tx_sem, 1, B_TIMEOUT, ETHER_TRANSMIT_TIMEOUT)) < B_NO_ERROR) {
/haiku/src/apps/glteapot/
H A DObjectView.cpp119 while (acquire_sem_etc(objectView->quittingSem, 1, B_TIMEOUT, 0) == B_NO_ERROR) {
/haiku/src/add-ons/kernel/drivers/network/usb_asix/
H A DASIXDevice.cpp196 uint32 flags = B_CAN_INTERRUPT | (fNonBlocking ? B_TIMEOUT : 0);
/haiku/headers/os/kernel/
H A DOS.h28 B_TIMEOUT = 0x8, /* relative timeout */ enumerator in enum:__anon6
/haiku/src/add-ons/kernel/drivers/network/usb_davicom/
H A DDavicomDevice.cpp275 uint32 flags = B_CAN_INTERRUPT | (fNonBlocking ? B_TIMEOUT : 0);
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.c304 result = acquire_sem_etc (pending->sem, 1, B_TIMEOUT,
342 while ((err = acquire_sem_etc(pending->sem,1,B_TIMEOUT,5000000))==B_INTERRUPTED);
/haiku/src/add-ons/kernel/drivers/network/etherpci/
H A Detherpci.c257 #define output_wait(data, t) acquire_sem_etc(data->olock, 1, B_TIMEOUT, t)

Completed in 225 milliseconds

12