operating-system

What is the context of a task that is saved on stack when a task is blocked in VxWorks?

What is the context of a task that is saved on stack when a task is blocked in VxWorks? ...

DotNet Get User Operating System (HTTP_USER_AGENT)

I'm looking at building an exhaustive function that returns a friendly name for the Users Operating System. I think I have most of the Windows stuff down, but I'm not sure about Linux, OSX, and others. Does anyone know where I can find an exhaustive list of HTTP_USER_AGENT's 'Gets the users operating system Public Shared Function GetU...

Counting context switches per thread

Is there a way to see how many context switches each thread generates? (both in and out if possible) Either in X/s, or to let it run and give aggregated data after some time. (either on linux or on windows) I have found only tools that give aggregated context-switching number for whole os or per process. My program makes many context s...

What does the Kernel Virtual Memory of each process contain?

When say 3 programs (executables) are loaded into memory the layout might look something like this: I've following questions: Is the concept of Virtual Memory limited to user processes? Because, I am wondering where does the Operating System Kernel, Drivers live? How is its memory layout? I want to know more about kernel side memory...

does close() imply flush() in Python?

Hi, In Python, and in general - does a close() operation on a file object imply a flush() operation? Adam ...

Can the adp2 device be flashed with 2.0?

Simple question...can the adp2 that I just bought through the Android Market be flashed with Android 2.0? I can't find anything anywhere. The HTC developer support only has system images for the adp1 and adp2 phones up to 1.6. If it can't I will be sending the phone back for a full refund. Thanks. ...

CPU Switches from User mode to Kernel Mode : What exactly does it do? How does it makes this transition?

CPU Switches from User mode to Kernel Mode : What exactly does it do? How does it makes this transition? EDIT: Even if it is architecture dependent please provide me with an answer. The architecture is up to you. Tell me for the architecture you know about. I want to get an idea about what all things will be involved in it. ...

How do they make programs that run on startup

Programs like page defrag by sysinternals or the chkdsk utility that run on startup. Please enlighten me. What kind of programming language do they use for these kinds of operations. ...

What versions of Java are available on Mac OS X?

With all the normal Apple updates applied (I.E. No additional effort has been made by the customer to install a particular version of Java), what versions of Java are available for the Tiger, Leopard and Snow Leopard versions of Mac OS X? If it also depends on the hardware 32bit/64bit could you please include this information. Thank you...

to what process should the driver deliver the data?

When 2 or more processes request data from a device/network and block (put on a wait queue) and when the data arrives, how does the driver know which process to send it to (or which process to wake up)? ...

jQuery Ajax cross browser/cross OS

Is there any reason why a jQuery Ajax request to the server would work on Firefox for Mac and not on Firefox for PC? ...

Zipping Rx IObservable with infinite number set

I have a IObservable [named rows in the sample below] from Reactive extensions framework and I want to add index numbers to each object it observes. I've tried to implement this using Zip function: rows.Zip(Enumerable.Range(1, int.MaxValue), (row, index) => new { Row = row, Index = index }) .Subscribe(a => ProcessRow(a.Row, a....

Best Educational Operating System For Study?

What's the best operating system to study in order to write your own x86 operating system from scratch? ...

32 vs 64 bit...or, what exactly does 'processing information' mean

I am having trouble understanding the difference between a 32 bit processor and 64 bit processor. I know that a 32 bit processor can access 32 bits at a time while a 64 bit processor can access 64 bits at a time. But what exactly does it mean to access a certain number of bits at one time? ...

How is the BIOS used by a modern OS?

What's the function of the BIOS in a modern OS? Is it still used after booting? And is there some kind of BIOS API? ...

C + GUI + Mac OS

i know c and I want to develop applications with GUI for Mac OS. Where do I start? ...

Programatically setting the dock:name Java Mac OS X JVM property

Is there a programatic alternative to setting the dock:name Java Mac OS X property by doing java -Xdock:name="My App Name" -jar myapp.jar , or is this the only way to set the dock:name property? ...

delete a file in protected mode env(like windows xp)

hi I write a program to delete a file from somewhere of my harddisk in 8086 but when i use int 21h (ah=41h) an error happens and carry set to 1.and I cannot delete that. does anyone know what can I do? I think it should be from protected mode which does not allow my program to delete another file.I want the answer and language is not mat...

How do you detect multiple iphone OS, equal to and greater than, using macros?

Hi, I am trying to execute different things depending on what os the users iPhone is using. Currently I have the below, which says - "if the device is 3.1, post this message" #ifdef __IPHONE_3_1 NSLog(@"this device is 3.1"); #endif But, How can I get it to say - "If the device is 3.1 or higher, post this message" ? ...

List of and documentation for system calls for XNU kernel in OSX

I'm trying to figure out how to get a list of and documentation for the system calls available in the XNU kernel in OSX. I've googled around quite a bit, but haven't been able to find anything of use. As I understand the calling conventions match BSD, is that correct? Thanks ...