Questions tagged as 'sistema-operacional'

1
answer

What is the operator for in the context of virtual memory paging?

I'm seeing the virtual memory implementation 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 frame = frame_addr/0x1000; u32int idx =...
asked by 15.12.2015 / 22:35
0
answers

Set boot script order [closed]

I've been using So Linux Ubuntu since version 7.04, but I've used other distros before, and I realize that with each release something changes inexplicably, things that often get in the way. My problem is the following, I have some servers with...
asked by 26.08.2014 / 19:52
2
answers

Use separate threads or programs?

I'm developing an application that involves three (perhaps more) processes that run concurrently: one HTTP server, one logger and another that will run the primary code. A priori, a simple solution to do this is to use three threads, one for...
asked by 13.11.2014 / 12:49
1
answer

How to get the default temporary operating system directory in PHP?

In PHP, is there any way [or some function that has the purpose] to get the directory where temporary files are saved on a particular operating system? I know that the tempnam function generates a temporary name for a file. When the di...
asked by 03.08.2015 / 17:29
1
answer

System Calls on Android

I'm creating a comparison between system calls between Linux and Android. On Linux I can create some codes and have already found some tables that demonstrate the system calls in it, but in Andorid, I find nothing. Does anyone know how to make s...
asked by 05.05.2015 / 03:20
1
answer

Process management in the SO

For the operating system, is a process regardless of its state a running program? The test question was either true or false . I chose fake , but the answer was wrong. Can anyone explain why?     
asked by 22.10.2015 / 14:46
1
answer

How to improve the perfomance of a program by dividing the executions into processes in language C?

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...
asked by 22.04.2018 / 00:43
1
answer

pstree in c ++ program

The process tree should be shown at the beginning of the execution, at the moment in which all processes are created and at the end of the program. (pstree -s) This requirement in bold is part of the development of this code below, the code...
asked by 23.06.2017 / 21:38
0
answers

Theoretical question - Lock Thread is closed

What can happen in terms of failures when a thread that is blocked, made I / O or is in a mutex for example , is it closed? I only encounter practical issues with how to close a blocked thread .     
asked by 17.10.2016 / 22:00
0
answers

Kernel Compilation

I'm trying to compile a kernel from my operating system in Visual Studio. How do I link the bootloader in Assembly and the kernel in C?     
asked by 23.11.2015 / 00:38