operating-system

What are all the disadvantages of using files as a means of communicating between two processes?

I have legacy code which I need to improve for performance reasons. My application comprises of two executables that need to exchange certain information. In the legacy code, one exe writes to a file ( the file name is passed as an argument to exe) and the second executable first checks if such a file exists; if does not exist checks ag...

How to test reliability of my own (small) embedded operating system ?

I've written a small operating system for embedded project running on small to medium target. I added some automated unit test with a high test code coverage (>95%), but the scope is only the static part. I got some code metrics as complexity and readability. I'm testing my code with a rule checker with MiSRA support, and of course fixe...

downgrade android OS 1.6 to 1.5

Hi i have HTC dev phone with Firmware 1.6 now i want to downgrade to 1.5. i follow steps which are given in this link http://androidandme.com/2009/10/beginners/guides/how-to-manually-install-the-official-t-mobile-android-1-6-on-your-g1/ but not get any result any one have solution for it than share here to downgrade Android os versio...

How long does it take each thread timeslice in Windows XP ?

I am trying to find out how long does it take each thread timeslice (quantum) in Windows but the only information that I found out is about the clock ticks being from 15 to 20ms or 20-30ms. How can I find this information ? I think it may vary from OS to OS, but I am not certain. I appreciate any suggestion on this subject. Thank you. ...

Is there any legal problems for design an operating system?

One of my big goals is to design an operating system. If I write one with GUI elements (windows, lists, buttons, etc.) and make it for Commercial use, will Microsoft or Apple sue me, just like what happened in GUI war between the two of them? ...

Pros and cons with a ready-queue for diffrent semaphores in a mini OS.

In a OS we originally have a ready-queue for the threads, note only one queue. Why would it be better to have different queues for each semaphore. Pros and cons can be about efficiency, complexity or something else. ...

Android OS 2.2 Permissions: I have absolutely no idea why this simple piece of code doesn't work. What am I doing wrong?

I'm just playing around with some code. I create an Activity and simply do something like this: long lo = currentTimeMillis(); System.out.println(lo); lo *= 3; System.out.println(lo); SystemClock.setCurrentTimeMillis(lo); System.out.println( currentTimeMillis() ); Yes, in my AndroidManifest.xml, I've added: <uses-permission android...

Can someone please explain to me the basic function of Intents in the Android OS?

I'm new to programming applications for the Android OS. As far as general architecture of the OS goes, I understand that processes are implemented as Linux processes and that each one is sandboxed. However, I'm utterly confused on the IPCs and syscalls (if any) used. I know that the IBinder is a form of this; parcels are sent back and f...

Fedora vs. Ubuntu for Software-Development Pros/Cons?

Why is Fedora chosen by so many developers in preference to Ubuntu? I'm using Ubuntu for software development for some time now, and I'm quite happy with it but I'm thinking to give Fedora a try. So, what are the pros/cons for using Fedora for software development? ...

Page Fault Interrupt Problems

This is a statement referring to problem caused by page fault:(from Silberschatz 7th ed P-310 last para) 'We cant simply restart instructions when instruction modifies several different location Ex:when a instruction moves 256 bytes from source to dest and either src or dest straddles on page boundary , then,after a partial move, if a ...

Question regarding synchronization

Using synchronization slows down the execution of a program. Is there a way to improve the speed of execution ? ...

How to get started with embedded systems in the aircraft or submarine industries?

Hi, Not 100% sure how to frame this question but here goes... I currently work as a Rails developer but want to work on more substancial / "meaty" projects and have always been very interested in embedded systems, especially systems that run on aircraft and especially submarines.....I know strange combination. I have been doing some s...

Operating system for visualization app in 6 monitors

Hi. I have to plan the development for an application with these major requirements: Show different graphical data and animations in 6 monitors, in fullscreen mode. The hardware to be used is a PC with 3 NVIDIA GeForce 9800 GX2 cards. I have some expertise working with OpenGL, but never with more than one monitor. I have the (some li...

Hitting the Done button does not dismiss the View of a MPMoviePlayerController on OS 4.0 beta

Hi All Hope someone can help me on this, on the old OS version 3.0 and down , hitting the done button one playing a Video would automatically dismiss the view, but now since we have to control the view appearance, hitting the Done just stops the movie but does not dismiss the view, I tried to check if it was linked to any notification a...

kill -9 and production application

Which problem can cause kill -9 in production application (in linux to be exact)? I have application which do some periodical work, stopping these takes long time, and I don't care if some jobs will be aborted - work can be finished by new processes. So can I use kill -9 just to stop it immediately or this can cause serious OS problem...

Which os is better for development : Debian or Ubuntu ?

Hello, Are there any real differences between them? I want to program in java and python. And of corse be a normal user: internet, etc Which one will give me less headaches/more satisfaction ? And which is better for a server machine ? Thank you ...

The way cores, processes, and threads work exactly?

I need a bit of an advice for understanding how this whole procedure work exactly. If I am incorrect in any part described below, please correct me. In a single core CPU, it runs each process in the OS, jumping around from one process to another to utilize the best of itself. A process can also have many threads, in which the CPU core r...

Is there a list of preprocessor defines for various operating systems (and versions)?

e.g. a mapping for Mac OS 10.6.3 aka Snow Leopard => __APPLE__ && __LP64__? Windows 7, Windows XP => __WIN32__ Linux => __LINUX__ ...

How to R/W hard disk when CPU is in Protect Mode?

I am doing some OS experiment. Until now, all my code utilized the real mode BIOS interrupt to manipulate hard disk and floppy. But once my code enabled the Protect Mode of the CPU, all the real mode BIOS interrupt service routine won't be available. How could I R/W the hard disk and floppy? I have a feeling that I need to do some hardwa...

Contributing to a Linux distribution

I'm interested in contributing to a Linux distro, but regarding the various distro's developer communities, I'm having a bit of trouble figuring out which one I'd most like to join. What languages I know: C, C++, Lua, Python, and fairly familiar with Perl (though I wouldn't say I "know" it). In particular, I have very little experience ...