Forum: Computer Science Oct 9th, 2009 |
| Replies: 0 Views: 284 Hello,
Could anybody please help me understand the idea of LCR leader election in a synchronous ring?
The idea is: Suppose a distributed system consists of a collection of
homogeneous... |
Forum: Networking Hardware Configuration Apr 18th, 2009 |
| Replies: 1 Views: 410 i was reading about "MOBILE IP"..
they said that :
assume initially we were connected to your home network and then you moved to another network...there is a problem that the person who was... |
Forum: C++ Mar 15th, 2009 |
| Replies: 1 Views: 262 hello there, can anybody please give me an example of how to use hashtables to implement a memory in cpp.. i surfed the net for 2 hours and couldnt find anything :S im not sure whether im submitting... |
Forum: C++ Mar 15th, 2009 |
| Replies: 1 Views: 210 i want to implement a memory using c++ language.
the memory will contain addresses of length 64bits because in my architecture the word is 64 bits.
i want to implement it using a set... |
Forum: C++ Mar 13th, 2009 |
| Replies: 10 Views: 409 no..the entries will be address and cycle time...so its of type w64 ( word is 64 bites..the datapath |
Forum: C++ Mar 13th, 2009 |
| Replies: 10 Views: 409 how to create a w64 structure in c++?
im want to try to implement a memory model for the a simulator.
so basically, the memory will be implemented as an 8 associative set array : meaning a two... |
Forum: C++ Mar 12th, 2009 |
| Replies: 4 Views: 297 well i need the hash table for the same reason cache implementation uses a hashtable.
memory implementation resembles that of the cache but its a bit less complicated.
i tried to look at cache... |
Forum: C++ Mar 12th, 2009 |
| Replies: 4 Views: 297 first. thanks for your reply
well i wana try to build "memory model " (model it on a store and load instructions) using a hashtable , by the "time" i mean the cycle time. |
Forum: C++ Mar 12th, 2009 |
| Replies: 4 Views: 297 Dear all,
to start with, im not asking for a code...im just too lost and need someone to guide me.
can anybody help me think about implementing a hash table to store memory addresses and times... |
Forum: Computer Science Jan 26th, 2009 |
| Replies: 0 Views: 345 Dear All,
My question is about Accounting method-in Amortized Analysis
Im studying the "Introduction to Algorithms book",
I finding some problems understanding the idea behind the... |
Forum: Java May 3rd, 2008 |
| Replies: 9 Views: 758 |
Forum: Java May 3rd, 2008 |
| Replies: 9 Views: 758 ezzaral , thekashyap , thank you guys , things are clearer now. |
Forum: Java May 3rd, 2008 |
| Replies: 9 Views: 758 please watch you are saying. i dont lie, alright ?! this is what happened.
if you dont want to believe me, well its ok. just dont be mean !
peace. |
Forum: Java May 1st, 2008 |
| Replies: 9 Views: 758 i know it has nothin to do with java ( sorry but i couldnt find the right forum :( )
i did read that article before i posted by question because i didnt get what they said.
do could you clarify... |
Forum: Java May 1st, 2008 |
| Replies: 9 Views: 758 hello guys,
well i dont get it.
what does it mean to say we have a 32-bit processor ?!!
and why saying 32-bit processor implies that the virtual memory of the process is 2^32?
please help |
Forum: Domains and DNS Apr 16th, 2008 |
| Replies: 0 Views: 765 Hello guys,
I'm not sure if i'm in the right forum,but i couldn't find more related one to my question.
suppose we have a strongly connected network, how can we know how many nodes there are... |
Forum: Windows NT / 2000 / XP Apr 13th, 2008 |
| Replies: 8 Views: 887 sorry i was too happy u helped me make it worked that i didnt notice your question , again im sorry.
well : ThreadMentor is a system designed to help students learn and instructors teach threaded... |
Forum: Windows NT / 2000 / XP Apr 13th, 2008 |
| Replies: 8 Views: 887 it worked !!! thank you so so much . you are so kind.
Can you please tell me why it worked , what is so special about moving it to the lib folder ? why cant the visual.exe in the Bin folder,... |
Forum: Windows NT / 2000 / XP Apr 12th, 2008 |
| Replies: 8 Views: 887 i did, but i didnt get any reply , thats why im askin here, so do u have any idea what could the problem be ? |
Forum: Windows NT / 2000 / XP Apr 12th, 2008 |
| Replies: 8 Views: 887 Guys,
i installed the ThreadMentor software from cs.mtu.edu website, but i could run it . It says, "This application has failed to start because "gtk-1.3.dll" was not found. Re-installing the... |
Forum: C Apr 10th, 2008 |
| Replies: 3 Views: 866 Alright but i mean these kind of programs are only in the operating system ( kernel in case of linux ) or i can write them to work in user space ? im still confused... |
Forum: *nix Software Apr 10th, 2008 |
| Replies: 1 Views: 635 Im taking an operating system course.
i understood the code that solved the consumer - producer problem using semaphores.
but what i didnt understood is where do we use these codes...what kind... |
Forum: C Apr 10th, 2008 |
| Replies: 3 Views: 866 Im taking an operating system course.
i understood the code that solved the consumer - producer problem using semaphores.
but what i didnt understood is where do we use these codes...what kind... |
Forum: Java Apr 8th, 2008 |
| Replies: 3 Views: 4,351 This should help
http://java-x.blogspot.com/2006/11/merge-pdf-files-with-itext.html
PS: please "mark it as solved " if you problem is solved |
Forum: *nix Software Apr 8th, 2008 |
| Replies: 2 Views: 1,159 another question , what does it mean to say that "User threads are supported at the user level.The kernel is not aware of user threads.this is good on os that do not support thread"
pleassssse... |
Forum: *nix Software Apr 8th, 2008 |
| Replies: 2 Views: 1,159 what does it mean to say that "that we have 2 ways for implementating threads ?"
i came across this statement and i didnt completely understand it. so i googled and found that
we can implement the... |
Forum: Java Apr 6th, 2008 |
| Replies: 6 Views: 1,079 Oh Ok..i totally understood...thank you all guys :) |
Forum: Java Apr 6th, 2008 |
| Replies: 6 Views: 1,079 i read the link you sent me, its quite interesting , but there is somethings that i dont understand, its says :
"Java uses fixed-priority scheduling algorithms to decide which thread to execute ".
... |
Forum: Java Apr 6th, 2008 |
| Replies: 6 Views: 1,079 Hello guys...
i came across this statement on the internet "java uses Preemtive scheduling?!!!" and i have NO idea what it means.
i found 2 definitions online:
A preemptive operating system... |
Forum: C Mar 6th, 2008 |
| Replies: 2 Views: 506 i wrote a program called trivial.c that takes an integer "time" from the command line and does nothing but loop for 5 times and sleep for "time" seconds in each iteration. the loop looks something... |
Forum: C Mar 6th, 2008 |
| Replies: 6 Views: 637 yes supposed i use fork..will this be correct?
char *new_cmd = "/Desktop/trivial" /*suppose i have it on my desktop*/
char *cmd_args[]= {"trivial"};
char *cmd_env[] = {NULL};
pid_t child;... |
Forum: C Mar 6th, 2008 |
| Replies: 6 Views: 637 Thank you so much guys for you assist :)
i understood very well how this works.
let's say i want to start another process and make it execute another program.
im tryin things now. what i did... |
Forum: *nix Software Mar 6th, 2008 |
| Replies: 3 Views: 971 i googled system () they said that sometimes it causes problems. and that we can use fork ( ) and exec () instead... so i found this code
#include <stdio.h>
#include <stdlib.h>
#include... |
Forum: C Mar 6th, 2008 |
| Replies: 6 Views: 637 hello guys,
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <errno.h>
void
main(int argc, char *argv[])
{ |
Forum: *nix Software Mar 6th, 2008 |
| Replies: 3 Views: 971 Hello Guys,
im new to linux ..
i read something about -linux allowing users to open processes from within another running processes and also allows a given processes to specify which programs... |
Forum: Java Mar 4th, 2008 |
| Replies: 6 Views: 1,559 |
Forum: C Feb 26th, 2008 |
| Replies: 13 Views: 1,229 thank you for the manual link ! its very useful.
so the same commands will work on both linux and windows ? |
Forum: C Feb 26th, 2008 |
| Replies: 13 Views: 1,229 im trying it now, the computer is still searching for the file.
whats the diffrence btw
gcc -o myprogram myprogram.c -lm
and gcc myprogram.c -lm
is can this be used in both linux and... |
Forum: C Feb 26th, 2008 |
| Replies: 13 Views: 1,229 how can i get to the ~lib/ directory? |