An operating system (OS) is a basic software whose rule is to intermediate software requisitions for resources and the hardware available, manage input/output, memory allocation/deallocation, file systems, among other basic tasks a device should do.

learn more… | top users | synonyms (1)

0
votes
4answers
175 views

Why is there little use of filesharing as compression (outside of libraries)?

Recently I was looking for a program that will run as a daemon and find files that have the same size/type, check if they're the same, then make both a hard link to a single copy if they are. And I ...
0
votes
3answers
323 views

How does the operating system regain control when multitasking? [duplicate]

I get how multiple processes can run on a single core by interleaving the processing. What I don't understand is how the operating system ensures that the program releases the processor after a ...
0
votes
3answers
225 views

If mutual exclusion is not implemented, how would we detect a race condition?

Suppose we are in a distributed environment, and mutual exclusion is not implemented yet. So how would we be able to detect race conditions? When I researched, use of non-blocking algorithms was ...
0
votes
1answer
612 views

Little and Big endian confusion

Just to make sure if I understand this correctly. Is this right that little endian processors read the memory addresses from highest to the lowest address and where as a big endian processors suppose ...
0
votes
2answers
120 views

Is renaming an 'alias' for moving?

Is it true to say (on Windows and Unix\Linux\OS X) that renaming a file or directory is just an alias for moving? e.g. Are there any side effects to either which are not present on the other? Does ...
0
votes
1answer
138 views

What are the languages, objects, data types, operations and features for lower levels in a multilevel model of a computer system?

From Structural Computer Organization by Tanenbuam In a certain sense, a computer with n levels can be regarded as n different virtual machines, each one with a different machine language. We ...
0
votes
1answer
169 views

Kernel facilities needed for C++

I'm working on a kernel for a proprietary embeded system. I've had no issues but I'd like to expand its capabilities directly. I made it run C. I did so pretty much by giving my kernel a stack. My ...
0
votes
3answers
142 views

What is the explication for the difference execution time for the same instruction?

As you know when we run instruction in our code like long a = b; we will not have the same ticks each to be executed. first exeution it take 2ticks; second exeution it take 3ticks; third exeution it ...
0
votes
2answers
48 views

Examples of operating systems capable of serving http-requests that does not support direct slash for directory separator

My php framework uses DIRECORY_SEPARATOR constant instead of /. Can there be any other options for a directory separator?
0
votes
4answers
1k views

Relation between Kernel & BIOS routines [duplicate]

How does a Kernel provides different functionality to OS? Does it use the BIOS routines or use special device drivers for this, or something else? If uses BIOS how does it come to know which routine ...
0
votes
1answer
666 views

What are the components of a process? [closed]

What exactly is a process and what all things is a process comprised of? I have read the Wikipedia page and I found only abstract details over there. I want to know what details are stored by a ...
0
votes
1answer
111 views

How do processes communicate? [closed]

What transports/pipes/interops are available that most or all languages support across OSs? Not necessarily, network, but interprocess. Or is interprocess communication OS specific? I mean, for ...
0
votes
3answers
138 views

What are the limits of using OS X when it comes to compiling and running CLI-based tools and scripts that were written with Linux in mind?

I run little scientific scripts and C tools on OS X from time to time. For the C tools, I just download the source and compile using the provided Makefile. I usually don't have any problems when using ...
0
votes
4answers
3k views

C++ or C#: Which language is Microsoft going to use in development of future Windows versions? [closed]

I heard almost all parts of Windows are written in C and C++ with some assembly. Why did Microsoft skip C#? Is there any scope for C# in the development of future Windows versions?
0
votes
2answers
347 views

Are monolith and microkernel design patterns or strategies?

What's the difference between a design pattern and a strategy? Is the monolith actually an anti-pattern?
0
votes
2answers
228 views

Windows OS design decisions [closed]

I've seen an interview with Richard Stallman some time ago, and he was asked a question about security and Windows OS which he answered saying that there are some relatively bad design decisions that ...
0
votes
2answers
74 views

Why a thread uses a stack in a context switch?

Correct me if I'm wrong, but if I have an operating system that makes a context switch, then that context switch is in practice a switch from one thread to another, where one thread was running one ...
0
votes
1answer
338 views

What metadata do files contain? [closed]

I know when a file is created date information such as date created, last modified, last opened, is automatically updated as meta data on that file. Is there other meta data though? Specifically, is ...
0
votes
2answers
763 views

Multi-level paging tables

Referring to the image here: From http://en.wikipedia.org/wiki/File:X86_Paging_4K.svg Could somebody please explain something for me? I don't get exactly how this works. As I understand it the ...
0
votes
1answer
419 views

Scheduling between child and parent process

When child processes are created using the fork system call what is there scheduling priorities..are they same? if so will always a child process run first and then parent...or is there a manipulation ...
0
votes
1answer
99 views

RIOT-OS and multiple executables?

I am brand new to embedded programming and am wondering if RIOT-OS has the capabilities that my small project requires. I have 3 executables, fizz, buzz and foo. They all do separate - but very ...
0
votes
0answers
30 views

File Hashing between OSes when Perforce changes line endings

I have a system of validating file downloads from a server. The server is running Ubuntu/AWS and generates the hash using data files it pulls from the version control, which is Perforce. It passes ...
0
votes
1answer
32 views

What if a task waits for a resource in STCF algorithm?

I am a computer science student and I have an exam tomorrow on operating systems. I have the exam questions of past years and there is one scenario in a question. There are two tasks in the ready-to-...
0
votes
0answers
78 views

Architecture of an extendable application

I am developing an embedded application on an ARM platform. I want to use ArchLinux as the underlying operating system and then create my own GUI. I want the application to be extendable (have apps if ...
0
votes
0answers
124 views

Why user threads are mapped to Kernel threads

Since user threads are mapped to kernel threads, why don't we create all threads as kernel threads that is a process with zero user thread. Doesn't mapping of user thread to kernel thread create ...
-1
votes
3answers
280 views

How flexible can hardware get? [closed]

This subject is long time in the making for me and it particularly took off when I was researching bootloaders for computers and consumer electronics, which, I will note, differ drastically. I've ...
-1
votes
1answer
101 views

What differences are between “play-by-play”, design and implementation of an OS? [closed]

From two books' review Daniel Bovet and Marco Cesati. Understanding the Linux Kernel (2nd Edition or newer): Note: this book has some tendency to function as a play-by-play of what happens ...
-1
votes
1answer
192 views

How do memory-clean apps work? [closed]

In terms of operating system architecture, what does a memory-clean software to get rid of all data that fill the virtual memory? I assume that it simply saves all RAM data into a file, but how does ...
-1
votes
2answers
1k views

What is the relationship between the command line, the OS and the microprocessor? [closed]

I'm not totally clear on how using the command line differs from working through the OS' interface using an editor for example. Obviously the UI is different but I want to understand how the command ...
-1
votes
1answer
263 views

Linux kernel development

I am trying to understand the linux kernel and there is one thing that is puzzling me for quite a while. As linux is used across variety of platforms (like smartphones,desktop,supercomputers etc) and ...
-1
votes
2answers
105 views

How to write code for different versions of linux

So, I've written some fairly big code for cent OS 7.1. The code essentially makes use of different command line tools by parsing the text output and shoving it in a database... pretty straight forward....
-2
votes
3answers
391 views

Programming in Linux (C++) [closed]

So I don't know If this is the right place to ask this. I am new to programming, I am not very in to it (I know classes,arrays,functions..etc(Basic Things)). I was programming with Visual Studio 2013 ...
-2
votes
1answer
447 views

What are steps in making an operating system in C ? [duplicate]

I am trying to make an my own OS. This is for educational purpose only, so that I get to understand the internals as well as get a good idea of low level programming. I have some prior application ...
-2
votes
1answer
53 views

Move file into apropriate directory based upon first letter of second word, followed by the first two letters of the second word with Python [closed]

EDIT: Apparently the below question is too specific. Let me rephrase: I'm looking for a way to fit a letter into a list of specified ranges such that, if given the letter S and the ranges A-F, G-M, N-...
-3
votes
6answers
493 views

Does Turing-complete implies possibility of malware? [closed]

Is it possible to build an operating system that contains some Turing complete compiler (language?) but is unable to run any malware? Or is there any definition for a malware? This question popped on ...
-3
votes
3answers
2k views

Why Apple doesn't “force” the user to update by installing the needed API updates when the user downloads a new app? [closed]

I was here programming in iOS with a class that's available only for iOS 6, and I was wondering: why should I implement my app to handle multiple operating systems when my app will be distributed by ...
-3
votes
2answers
258 views

What are the differences between operating systems and computer systems?

Wikipedia's definition of a "computer system" is: Computer system is define as the combination of hardware software user and data with referring to communication and procedure involved in between ...
-4
votes
1answer
64 views

Where should we put folders on the user's computer? [closed]

This reddit post makes a good point: Why do developers create so many folders directly in "My Documents". My home folder is completely full of this kind of stuff (especially when I show hidden files ...