Tag Archives: thread

cast from pointer to integer of different size – cast to pointer from integer of different size

On a 32-bit system my code compiled without any problem. On a 64-bit system I get the warnings: warning: cast from pointer to integer of different size warning: cast to pointer from integer of different size It turned out the … Continue reading

Posted in C | Tagged , , , , , , | 2 Comments

Spinning command line cursor in Java

As a follow-up to my previous article on displaying a spinning cursor to display program activity, I have created a more useful example that could be adapted for use. The original problem was this – I was writing a program … Continue reading

Posted in Java | Tagged , , , , , , , , , | Leave a comment

A Simple Daemon in C

(Before diving into creating your own daemon, you might want to take a look at the Fat Controller which is a program which can daemonise anything. If you need to daemonise something, run something repeatedly or parallelise something, then it … Continue reading

Posted in C | Tagged , , , , , , , , | 11 Comments