Search Results

Search: Posts Made By: sundaresh
Forum: Programming 05-11-2017
967
Posted By sundaresh
Since UNIX already caches files, I figure I do...
Since UNIX already caches files, I figure I do not need to maintain a separate cache in my
program. A judicious use of flock() and fsync() should do the job. Thank you. This thread is solved and...
Forum: Programming 05-09-2017
967
Posted By sundaresh
Synchronising cache and file
I am reading and caching some of the blocks of a large data file into program
virtual memory, for processing. My question is how do I synchronise this
cache with the file, for instance, if a block...
Forum: Ubuntu 01-07-2014
3,131
Posted By sundaresh
Installing latest Ubuntu on my desktop
I wish to install the latest ubuntu on my desktop. How do I go about doing this ?
Also how do I create the superuser or admin once the installation is done ?
Forum: Web Development 01-07-2014
1,867
Posted By sundaresh
Is PHP properly installed
I Installed LAMP on Ubuntu according to instructions in this page Installing LAMP On Ubuntu For Newbies | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/ubuntu_lamp_for_newbies) ,...
Forum: Programming 09-26-2013
3,373
Posted By sundaresh
Thanks Don, my daemon does use shared memory, but...
Thanks Don, my daemon does use shared memory, but the semaphore seems to be the right way.
I did'nt think of it.
Forum: Programming 09-26-2013
3,373
Posted By sundaresh
Daemon process
I wish to make a process run in the background, but only one instance of it, and not many,
so when the program is loaded, it has to check whether another instance of the same
program is running and...
Forum: Programming 06-12-2011
1,204
Posted By sundaresh
Installing jdk
I just downloaded jdk, but am unsure about updating the PATH variable.
What steps should I follow ? Evidently I have to/prefer to be logged in as root to
install jdk on my UBUNTU 10.04 linux.BTW,...
Forum: Linux 07-11-2008
2,396
Posted By sundaresh
Dial-up Networking
I use Red-Hat 8.0, with Gnome, and I have a dial-up internet connection.
My phone-line however is zero-dial. At first I have to dial 0 to get the
dial tone, and later the number of my service...
1
3,976
Posted By sundaresh
userid
I would like to know the difference between the real user-id and the
effective user-id. If user-A runs a program owned by user-B then
which is the real user-id and which is the effective user-id ?
6
2,026
Posted By sundaresh
Thanks
THANKS A TON. The procedure worked. Kindly add this reply to FAQ.
6
2,026
Posted By sundaresh
Loader
How do I enter single user mode in GRUB 0.92 ?
This is the initial loader, and it does provide a feature to edit the commands.
Do I have to press any key to enter single user mode. The OS is Red...
6
2,026
Posted By sundaresh
sorry
Did'nt think the problem was common. BTW, would like to download faq ?
6
2,026
Posted By sundaresh
root
SOS !!!

I have forgotten my root password, on my system, and as a result unable to
access my important files, on my redhat LINUX 8.x m/c. Kindly tell me how
reset/change the existing password,...
Forum: Programming 06-23-2006
7
5,127
Posted By sundaresh
scope
Which does'nt answer my question. I think that model you pointed to is
independent of threads. So will there be several variables, one for each thread, of the seed and times variables or just one...
Forum: Programming 06-23-2006
7
5,127
Posted By sundaresh
scope
I mean , variables not declared as static within the file, but are static within
the function, for instance,

int seed, times;

void srand(int s) {
seed = s;
times = 0;
}

int...
Forum: Programming 06-23-2006
7
5,127
Posted By sundaresh
scope
Each thread has a copy of auto variables within a function, but variables
declared as static within a function are common to all threads. To circumvent
this can static variables be placed outside...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 07:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy