Pavel Labath
0f213c89f2
Simplify timed_thread time calculations with some c++0x magic
2010-06-10 19:19:49 +02:00
Nikolas Garofil
e7ed9a5060
Revert "Use "using namespace std;" and remove all std::'s"
...
This reverts commit 41e80b9833
.
2010-02-24 20:10:26 +01:00
Nikolas Garofil
41e80b9833
Use "using namespace std;" and remove all std::'s
...
I'm doing this because otherwise i'll will forget to add all those
std::'s and will lose a LOT of time finding the problems.
If you don't agree, undo this patch...
...but i hope you won't :)
2010-02-24 19:39:45 +01:00
Nikolas Garofil
72d581279a
Use free_and_zero in [d-k]*.cc where appropriate
2010-02-23 23:13:11 +01:00
Nikolas Garofil
b206ecc93d
new should be combined with delete instead of free (to stop valgrind from complaining)
2010-02-11 14:44:15 +01:00
Nikolas Garofil
463836ebf9
Combine print_execp and print_exec as much as possible
2010-02-11 01:08:25 +01:00
Nikolas Garofil
f0ed783041
dog^H^H^Hcat should become cat in all exec-related vars
2010-02-10 23:31:35 +01:00
Nikolas Garofil
aea8d3ed52
Combine print_texeci and print_execi as much as possible
2010-02-10 21:23:21 +01:00
Nikolas Garofil
c010d7cd00
Let execp use fill_p
2010-02-10 19:45:42 +01:00
Nikolas Garofil
36ad680a98
Let print_execi and print_texeci call fill_p for filling p
2010-02-10 19:04:31 +01:00
Nikolas Garofil
9fefa79551
Obsolete threaded_exec_caller with help of previous commit
2010-02-10 15:54:50 +01:00
Nikolas Garofil
e017870b58
Combine print_texeci and print_texecpi as much as possible
2010-02-10 15:21:00 +01:00
Nikolas Garofil
456142241c
Combine print_execi and print_execpi as much as possible
2010-02-10 15:02:00 +01:00
Nikolas Garofil
a5ed45fc7b
put same stuff from print_texeci and print_texecpi in a separate function
2010-02-08 16:12:46 +01:00
Nikolas Garofil
223eefcdd7
Forgot one letter in previous commit...
2010-02-07 14:46:22 +01:00
Nikolas Garofil
01e3bb62a2
Implements texecpi variable
2010-02-07 10:29:43 +01:00
Brenden Matthews
002685c0ce
Make timed-thread a lib, rename files.
2010-01-13 10:52:54 -08:00
Pavel Labath
c62266a5db
Make sure the $exec buffer is null-terminated
2010-01-13 13:34:14 +01:00
Brenden Matthews
7e78f036f0
Use consistent naming for build option macros.
...
Probably have broken some build features with this commit.
2010-01-06 18:39:44 -08:00
Brenden Matthews
7ff762e4af
Resolve issues with timed_thread rewrite WIP.
2010-01-04 19:21:12 -08:00
Brenden Matthews
01ac47d082
Implement timed_thread rewrite in C++.
...
Rewrote timed_thread library in C++ using fancy new C++0x features. The
main reason for this is to phase out poor encapsulation and C-style
function pointers.
2010-01-04 19:21:12 -08:00