operating-system

What Operating Systems Will Free The Memory Leaks?

I've got a desktop program. Most Operating Systems run the program in its own address space. When the program exits, I believe most operating systems free the memory allocated by the program and return it to the memory stack for reuse. What I am not sure of, is if the program has a memory leak, will the memory "leaked" also be returne...

Can i execute any c made prog without any os platform???

i googled about it and some where i read .... Yes, you can. That is happening in the case of embedded systems As per i think, NO, its not possible. Any platform must have an operating system. Or else, your program must itself be an OS. Either soft or hard-wired. Without an operating system your component wouldn't work. Am i right or c...

Thread behavior on multicore machines

Does the threads of a single process run in parallel on a multi-core machine on windows XP? Is the behavior same on different windows versions (windows server editions) I have heard that only threads of different processes run in parallel. ...

Java Random Slowdowns on Mac OS cont'd

I asked this question a few weeks ago, but I'm still having the problem and I have some new hints. The original question is here: http://stackoverflow.com/questions/1651887/java-random-slowdowns-on-mac-os Basically, I have a java application that splits a job into independent pieces and runs them in separate threads. The threads have...

Detect 64-bit or 32-bit Windows from User Agent or Javascript?

I want to offer the right version of a download. The versions I have are: 32-bit Windows 64-bit Windows Linux Detecting Linux using the User Agent field is easy; but is it possible to reliably figure out if Windows is 32-bit or 64-bit? Users might be using weird browsers - IE and Firefox are common, and we probably have an Opera us...

When process exit, will the memory that's left undeleted be returned to OS?

I am wondering if i new some object but forget to delete it, when the process exit, will the leaked memory be returned to the OS? ...

What form is DLL & what makes it processor dependent

I know DLL contains one or more exported functions that are compiled, linked, and stored separately.. My question is about not about how to create it.. but it is all about in what form it is stored.. Is it going to be in the form of 0's & 1's.. or in assembly commands ADD, MUL, DIV, MOV, CALL, RETURN etc.. Also what makes it to be proc...

Random access of multiple files and file caching

This relates to some software I've been given to "fix". The easiest and quickest solution would make it open and read 10 random files out of hundreds and extract some very short strings for processing and immediately close them. Another process may come along right after that and do the same thing to different, or the same, random files ...

How to detect OS of Win7 Home Premium, Win7 Professional, Win7 Enterprise or Win7 ultimate?

How to detect OS of Win7 Home Premium, Win7 Professional, Win7 Enterprise or Win7 ultimate? ...

What will happen if a application is large enough to be loaded into the available RAM memory?

There is chance were a heavy weight application that needs to be launched in a low configuration system.. (Especially when the system has too less memory) Also when we have already opened lot of application in the system & we keep on trying opening new new application what would happen? I have only seen applications taking time to proce...

Difference between COM DLL & ActiveX control

Few similarities I know.. Both cannot execute by themself. It needs some program to instantiate it. COM DLL & ActiveX controls are platform independant.. (Is it so..?) Both requires to support the interface IUnknown & exposes three methods QueryInterface, AddRef, and Release It also requires be registered before using & un-registered a...

ActionScript 2 FileReference problem on Mac OS

Hi There, I'm working on an AS2 application. One of the functions is upload a file to server (PHP) and grab raw text (XML) from response by listening to OnUploadCompleteData event of a FileReference Object. But I found the event can be correctly triggered, but the parameter data(:String) is always empty. And this only happens on Mac OS ...

Good book teaching OS using Linux

I am preparing for some interviews and I would like to review OS concepts. I have found this so far. I dont want a Linux kernel in a nutshell or administration or programming, but a book that goes over operating systems using Linux as the primary template. Do you all have any good suggestions? Thanks! ...

Difference between interrupt and event.

What is the difference between interrupt and an event ? I am very confused between this two. Please clarify me. ...

How much access should an OS give to web-based scripting?

I've been thinking about the access web-based applications have to an OS. I'm curious: What is the best way of determining this as it currently stands? Is the trend leaning toward more, or less access? What functionalities should be open/closed? A simple example would be.. say your g-mail alerted you in the task-bar when an incomi...

Is there a cross-platform way to open a file browser in Python?

I'm thinking something along the lines of the webbrowser module, but for file browsers. In Windows I'd like to open explorer, in GNOME on Linux I want to open nautilus, Konqueror on KDE, etc. I'd prefer not to kludge it up if I can avoid it. ;-) ...

Find Vista Language using WIX

I am working on an installer which will be installed on multiple versions of XP/Vista with different languages. In the installer, I need to find out the language of the OS installed. I know how to get the OS version by using "VersionNT" and/or "VersionNT64", is there any similar way to get OS language also? I need to add different regis...

Why linux is called monolithic kernel

I read that Linux is a monolithic kernel. Does monolithic kernel means compiling the linking the complete kernel code into an executable? If Linux is able to support modules, why not break all the subsystems into modules and load them when necessary. In that case, kernel doesn't have to load all modules initially and maintain index of th...

What kind of kernel does MS Windows have?

I saw a question on Linux Kernel. While reading that I had this doubt. LInk to that post : http://stackoverflow.com/questions/1806585/why-linux-is-called-monolithic-kernel ...

BlackBerry - Location/directory on device to save file from application

My program saves a file on the device during runtime and reads/writes data from it during runtime. Currently it gets saved in the SDCard. I want to know if saving it in device flash memory would be better than removable media. Does device allows us to write something in its internal memory? Suggestions/Ideas? Thanks ...