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...
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...
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...
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.
...
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?
...
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.
...
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...
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...
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?
...
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 ...
Using synchronization slows down the execution of a program. Is there a way to improve the speed of execution ?
...
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...
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...
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...
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...
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
...
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...
e.g. a mapping for
Mac OS 10.6.3 aka Snow Leopard => __APPLE__ && __LP64__?
Windows 7, Windows XP => __WIN32__
Linux => __LINUX__
...
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...
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 ...