Most voted "operating-system" questions
An operating system is a program or a set of programs whose function is to manage system resources (define which program receives processor attention, manage memory, create a file system, etc.), providing an interface between the computer and the user.
Learn more…86 questions
Sort by count of
-
2
votes1
answer808
viewsHow to get information from the server operating system?
How can I get the operating system from my server? For example, some method to know if the operating system of the production environment is on Linux, Windows, etc...
-
2
votes1
answer130
viewsWhy does the operating system leave it to the programmer to deal with racing conditions?
That doubt came to me after that question: What is a racing condition? From my point of view then correct me if I’m wrong, for the kernel everything is read or written, hence also the reason for the…
-
2
votes1
answer115
viewsCan any generated exe run or depend on the platform that was made?
I got some files from DOS operating system with extension .exe and ran them on a virtual machine and DOSBOX emulator. Then I tested them on a physical machine. The result between both: physical…
-
2
votes1
answer41
viewsHow to improve the performance of a program by dividing executions into C-linked processes?
int main(int argc, char ** argv) { int i,j; uchar *image; camera c; point eye; point lookat; int samples; int s; float rcp_samples;// = 1.0 / (float)samples; //char fname[20]; //ray * rays; //color…
-
2
votes1
answer58
viewsHow is a executable erased from memory?
Sorry if this question seems repeated but is this question did not answer what I wanted to know:as a program is loaded into memory The .exe is loaded whole into memory or parts of the program are…
-
1
votes1
answer222
viewsSystem Calls on Android
I’m creating a comparison between the system calls between Linux and Android. In Linux I can create some code and I’ve found some tables that demonstrate the system calls in it, but in Andorid, I…
-
1
votes0
answers128
viewsHow to capture pid of processes that are accessing x service
I would like to know a way to monitor all processes that are using a service/ system functionality, more specifically want monitor processes requesting and modifying the position of mouse, I tried…
-
1
votes1
answer781
viewsHow to get the default temporary operating system directory in PHP?
In PHP, there is some way [or some function that has the purpose] to get the directory where temporary files are saved in a given operating system? I know the function tempnam generates a temporary…
-
1
votes1
answer56
viewsProcess management in the OS
For the Operating System, a process regardless of its state is a running program? The question of proof was true or phony. I chose phony, but the answer was wrong. Can anyone explain to me why?…
-
1
votes0
answers50
viewsKernel compilation
I want to compile a kernel of an operating system of mine in Visual Studio. How do I link the bootloader in Assembly and the kernel in C?
operating-systemasked 8 years, 12 months ago aemg borges 49 -
1
votes0
answers60
viewsTheoretical Question - Blocked Thread Closes
What can happen in terms of failures when a thread which is blocked, made I/O or is in a mutex for example, is closed? I can only find practical questions of how to close one thread blocked.…
-
1
votes3
answers141
viewsIsolate processor to run only my program
It has as I isolate the processor to run only my program in C? It’s more of a didactic and scholarly question that my I.A teacher passed on to me. He asked us to perform millions of operations to…
-
1
votes1
answer327
viewsBatch create operating system (.bat)
It is possible to create a real operating system in batch (.bat)? Because I saw some Youtube videos where the title was something "OS in batch" (English).
-
1
votes1
answer47
viewspstree in c++ program
The process tree should be displayed at the start of the execution, at the time where all processes are created and at the end of the program. (pstree -s ) This requirement above in bold is part of…
-
0
votes1
answer655
viewsError in os.system() python
I have a script in python that needs to run other software multiple times, I’m trying to do this using the.system("command"), but this function always returns me -1 and does not work, I have tested…
-
0
votes1
answer349
viewsPHP script that for an operating system service
someone knows if there is a command in php or script that stops a service in the operating system ?
-
0
votes2
answers3565
viewsDifference between operating system and mobile platform
I have looked elsewhere for this information, but I have not been able to clarify it. I would like to know the difference between operating system and mobile platform. For example, I always hear…
-
0
votes1
answer106
viewsWhat is the operator << in the context of virtual memory paging?
I’m seeing the implementation of virtual memory and I have this code: #define INDEX_FROM_BIT(a) (a / 8*4) #define OFFSET_FROM_BIT(a)(a % (8*4)) static void set_frame(u32int frame_addr) { u32int…
-
0
votes1
answer65
viewsVirtual page - Frame allocation algorithm
Guys, can someone explain me this algorithm of Frame allocation? I’ve broken my head trying to understand what each function does but I can’t make sense of it. Code tutorial link below:…
-
0
votes0
answers92
viewsHow can I test equipment connectivity across a network without using the ICMP protocol?
How can I test equipment connectivity across a network without using the ICMP protocol? I made a simple operating system, it has internet access etc. But, it does not have ping. How can I create a…
-
0
votes1
answer163
viewsIs it possible to have an operating system with multiple kernels?
I was thinking along with my team to make an operating system that runs the applications and drivers Windows and Linux kernel Linux and React OS kernel hybrid, but I’m curious to know if it would be…
-
0
votes1
answer338
viewsHow to detect version of Windows OS?
I want to get a value of what system you’re using, like: Windows 7 or Windows 8 or Windows 8.1 or Windows 10 How can I do this in C# ? I’ve tried System.Environment.OSVersion doesn’t work right. I…
-
0
votes0
answers103
viewsMultithread system file writing in c#
I am developing a system in which I find myself in the following scenario: a program needs to create a file piece by piece. It receives bytes from a server and so the file is created, it should work…
-
0
votes2
answers1092
viewsI can’t sync my windows clock
I installed windows yesterday(2019-08-16), and the time of the OS appears 3 hrs ahead, I try to synchronize and nothing. Type in the CMD >w32tm /resync /rediscover Enviando comando resync para o…
-
0
votes1
answer185
viewsWhen is an operating system created the compilers of ASM, C language, CPP must be created as well or are portable?
1 - AHTAH! Another crazy wanting to re-invent Microsoft - Because this me$#%%$#$ question? To give a little context to my doubt: I have always programmed in high-level languages, to solve…
-
0
votes1
answer37
viewsModified Linux kernel build error
I am trying to compile a modified version of the linux kernel (Xdplua). I followed the steps present in the Arch wiki (because I use Manjaro)…
-
0
votes0
answers12
viewsHow the operating system or firmware knows the end of memory
My doubt is until simple: One thing I don’t know yet is as the operating system or firmware knows the end of memory, kind of a free() in C, you know where the memory allocated ends. Does anyone…
-
0
votes0
answers20
viewsError setting stack by kernel
I always thought I understood about the stack but I realized that no, I’m wanting to understand the stack in practice, so I created this environment The idea is to set the top of the stack at 7FFFh…
-
0
votes0
answers23
viewsError creating keyboard drive in Assembly
I’m creating a keyboard driver but I’m having problems; The idea is that the kernel will load "Keyboard.asm" in memory at 0800h:500h and then I will make a jump to that same address, the first…
-
0
votes0
answers25
viewsWhat is the operation behind the environment variables?
Hi, I’m new to programming, I downloaded the SDK from. NET 5 to learn about, but I came across his command line in English, I don’t really know what defines the language, but I researched and found…
-
-1
votes1
answer216
viewsType of Android kernel
The Android operating system developed by Google is a monolithic kernel or microkernel?
-
-1
votes1
answer77
viewsWhen to use a Thread or Process?
I am preparing for a proof of Operating Systems and I would like to know what are the best situations to use a thread or create another process.
-
-2
votes1
answer123
viewsTCP/IP protocol on Linux and Windows
The structure of the TCP/IP protocol may vary from Windows for Linux or even from language to language? the knowledge acquired about TCP/IP in the C++ language can also be taken into account in…
-
-2
votes1
answer380
viewsWhy wasn’t a programming language invented to replace C and C++ to facilitate the development of operating systems?
The C and C++ programming languages replaced Assembly in the development of operating systems. No one in their right mind currently develops an operating system entirely in Assembly. Please correct…
-
-2
votes0
answers6
viewsReinstall libstdc++6
For some reason, sometimes, in linux, when I install something, an error is shown, saying that my libstdc is "broken" and I don’t know how to fix, I’m a new linux user, I downloaded the system…
-
-3
votes1
answer95
viewsIs it possible to install Android without editing the manufacturer?
Hello, If in a hypothetical situation, I have how to change the boot of my phone, can I install raw Android? Like, I know manufacturers change it before they install it, but without this edition it…