Recently I ran into this problem. How do you capture SIGSEGV with a signal handler and still generate a core file? The problem is that once you have your own signal handler for SIGSEGV, Linux will not call default signal handler which generates the core file. So, once you got SIGSEGV, consider all that useful […]
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion IntroductionBACK TO TOC In this article I would like to continue subject I started in my previous two posts (post 1 and post2). Question I am trying to answer is what […]
Posted on November 9, 2008, 9:23 am, by Alexander Sandler, under
Short articles.
Continuing my previous post, I would like to talk about relatively new feature in glibc and pthreads in particular. I am talking about spinlocks.
Posted on October 23, 2008, 5:16 pm, by Alexander Sandler, under
Short articles.
Recently I ran into few pieces of code here and there that assumed that int is an atomic type. I.e. when you modify value of the variable from two or more different threads at the same time, all of the changes you’ve made to the value will remain intact. But really, can you modify variables […]
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance […]
Tags:
C++,
call,
code,
CPU,
encapsulation,
functions,
identifier,
inheritance,
mangling,
memory,
method,
new,
OOD,
OOP,
polymorphism,
progming 55 Comments |
Read the rest of this entry »
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance […]
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance […]
Tags:
cache,
hibernate,
io,
kernel,
leaks,
linux,
memory,
partition,
performance,
RAM,
speed,
swap,
virtual memory 34 Comments |
Read the rest of this entry »
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance […]
Tags:
boot,
disk,
hda,
ide,
init,
initrd,
kernel,
linux,
mkinitrd,
modprobe,
module,
script,
scsi,
sda,
shell,
system 5 Comments |
Read the rest of this entry »
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance […]
Table of contents Introduction How atomic variables work Atomic variables size limitations Use cases The real thing… Time to see some action Precautions Conslusion Introduction Encapsulation How methods work How overloading works How mangling solves the problem Structure and size of the object How inheritance and polymorphism work How basic polymorphism works How multiple inheritance […]
Tags:
aligned,
cache,
CPU,
ddr,
ddr2,
Intel,
l1,
l2,
l3,
memory,
misaligned,
nv,
performance,
Processor,
protocol,
RAM,
sdram,
speed,
unaligned 29 Comments |
Read the rest of this entry »