interrupt
Semaphores for process synchronization
I have 开发者_Python百科never understood semaphores well enough. Every time, I venture to understand them, something pops up, which I don\'t understand.[详细]
2023-03-12 18:00 分类:问答How do system calls work?
I understand that a user can own a process and each process has an address space (which contains valid memory locations, this process can reference). I know that a process can call a system call and p[详细]
2023-03-11 15:18 分类:问答Assembly interrupt problem: int 13h (ah = 42h) failed returning cf = 1, ah = 1
I want to write a program in assembly language to read primary partitions of a hard disk. I Googled a lot last several days and I found that maybe int 13h (ah = 42h) is for me. But I failed at the beg[详细]
2023-03-11 00:15 分类:问答Tool to check global variables thread-safe protection
I have large C code base for a micro-controller. I am working开发者_运维知识库 on a task to check if all global variables are thread-safe or not.[详细]
2023-03-10 23:26 分类:问答Interrupting blocked read
My program goes through a loop like this: ... while(1){ read(sockfd,buf,sizeof(buf)); ... } 开发者_StackOverflowThe read function blocks when it is waiting for input, which happens to be from a soc[详细]
2023-03-10 10:19 分类:问答What happens when kernel code is interrupted?
I am reading Operating System Concepts (Silberschatz,Galvin,Gagne), 6th edition, chapter 20. I understand that Linux kernel code is non preemptible (before 2.6 version). But it can be interrupted by h[详细]
2023-03-08 23:25 分类:问答pic18f4520 with picos18- interrupt problem
I am programming PIC18F4520, and using picos18 for multitasking. I need to control buttons with PORTB. I am using interrupts, b开发者_JS百科ut I am facing a problem.[详细]
2023-03-07 09:23 分类:问答Python: Stop the socket-receiving-process
I receive data from some device via socket-module. But after some time the device stops sending packages.[详细]
2023-03-04 21:51 分类:问答What happens after a thread is paused with sleep?
I have following code try{ sleep(500); }catch(InterruptedException e){} Is the Interrup开发者_开发知识库tedException thrown when the thread has finished sleeping or when interrupt method is called[详细]
2023-03-04 14:03 分类:问答Can an interrupt handler be preempted?
I know that linux does nested interrupts where one interrupt can \"preempt\" another interrupt, but what about 开发者_StackOverflow社区with other tasks.[详细]
2023-03-03 17:13 分类:问答