Skip to content

Instantly share code, notes, and snippets.

View anirudh-ramesh's full-sized avatar
🏁
pongal-o-pongal

Anirudh Ramesh anirudh-ramesh

🏁
pongal-o-pongal
View GitHub Profile
1. Fire up the command prompt.
2.1. Execute: gcc shm_server.c -o shm_server
2.2. Execute: gcc shm_client.c -o shm_client
3. Execute: ./shm_server &
4. Execute: ./shm_client
// Source: http://supp.iar.com/FilesPublic/SUPPORT/000419/AN-G-002.pdf
unsigned int sqroot(unsigned int x){
unsigned int a,b;
b = x;
a = x = 0x3f;
x = b/x;
a = x = (x+a)>>1;
x = b/x;
a = x = (x+a)>>1;
@anirudh-ramesh
anirudh-ramesh / Message Queue - README
Last active February 5, 2016 11:16
Message Queue
1. Fire up the command prompt.
2.1. Execute: gcc send.c -o send
2.2. Execute: gcc recv.c -o recv
3. Execute: ./send <<< "Message."
4. Execute: ./recv