Table of contents
Introduction
What reference counting needed for?
This is how we will use atomic variables to count references to objects
The naive approach
The RCU approach
Where atomic variables coming from?
Conclusion
IntroductionBACK TO TOC
Lets say we have a data structure that manages objects and we would like to manipulate the data structure and the objects from two or more threads. [...]
Table of contents
Introduction
What reference counting needed for?
This is how we will use atomic variables to count references to objects
The naive approach
The RCU approach
Where atomic variables coming from?
Conclusion
Quick links
Introduction
Creating the backup
What to backup
Figuring out device file
Preparations
Actual backup
Restoring from backup
Preparations
Restoring
Restoring entire hard disk
Restoring single partition
Quick linksBACK TO TOC
Backing up
Restoring backup up disk
Restore backed up partition
IntroductionBACK TO TOC
Backing [...]
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 information [...]
Table of contents
Introduction
What reference counting needed for?
This is how we will use atomic variables to count references to objects
The naive approach
The RCU approach
Where atomic variables coming from?
Conclusion
Quick links
Introduction
Creating the backup
What to backup
Figuring out device file
Preparations
Actual backup
Restoring from backup
Preparations
Restoring
Restoring entire hard disk
Restoring single partition
Introduction
Few words about initrd
Few words about history
Back to the real thing
Changing it
Packing it [...]
Introduction
Few days ago I encountered a problem. How do you connect to a computer behind NAT router? Any NAT router is also a firewall. Sometimes you do have access to firewall configuration and can set up port forwarding. Yet often it is complicated and even impossible. Common situation is when you want to connect to [...]
Tags:
connection,
firewall,
linux,
NAT,
office computers,
router,
server server,
session,
ssh,
tunnel,
vpn 18 Comments |
Read the rest of this entry »
From some reason this topic never got enough attention in libc. POSIX threads library does addresses this issue, however what starts in POSIX library stays in POSIX library. pthread_self() and friends will get you an identifier that is unique accross your program, but not accross your system. Although thread is a system object, the [...]
Tags:
call,
getpid,
gettid,
identifier,
linux,
pid,
posix,
pthread,
syscall,
system,
thread,
tid 11 Comments |
Read the rest of this entry »