Luke Dashjr
|
9c648c1749
Bugfix: Calculate nsec in nmsleep correctly
|
13 years ago |
Con Kolivas
|
bc0b14063f
Cope with signals interrupting the nanosleep of nmsleep.
|
13 years ago |
Con Kolivas
|
3271be145f
Provide a ms based sleep function that uses nanosleep to avoid the inaccuracy of usleep on SMP systems.
|
13 years ago |
ckolivas
|
1a43f79547
Mingw doesn't support asprintf, use sprintf.
|
13 years ago |
ckolivas
|
1e9421475c
Timersub is supported on all build platforms so do away with custom timerval_subtract function.
|
13 years ago |
ckolivas
|
75ea616422
Minor style police on util.c
|
13 years ago |
ckolivas
|
8f954d40ec
Get rid of unused result warning with asprintf.
|
13 years ago |
Con Kolivas
|
3267b534a8
Implement rudimentary X-Mining-Hashrate support.
|
13 years ago |
ckolivas
|
c5a21fabf0
Extend nrolltime to support the expiry= parameter. Do this by turning the rolltime bool into an integer set to the expiry time. If the pool supports rolltime but not expiry= then set the expiry time to the standard scantime.
|
13 years ago |
Con Kolivas
|
268039cc7e
Indentation clean up.
|
13 years ago |
Con Kolivas
|
eda382990a
Create one longpoll thread per pool, using backup pools for those pools that don't have longpoll.
|
13 years ago |
Con Kolivas
|
9609dbc42d
Set lp_path to NULL after free for consistency.
|
13 years ago |
nelisky
|
17b9baa9da
Removing dmalloc import left behind by mistake
|
13 years ago |
nelisky
|
44bcb69ccd
Fixing leak in resp_hdr_cb
|
13 years ago |
Luke Dashjr
|
ed8382c88d
Make curses TUI support optional at compile-time.
|
14 years ago |
Con Kolivas
|
d1cddf8bad
Update licensing to GPL V3.
|
14 years ago |
Con Kolivas
|
f4284a21a8
Set the lp_sent variable under lock since there will almost always be a race on setting this variable, potentially leading to multiple LPs being sent
|
14 years ago |
Con Kolivas
|
fe4b5e1fc6
Set the lp_sent bool earlier to minimise the number of extra longpolls sent out.
|
14 years ago |
Con Kolivas
|
39906718d2
Keep track of when a longpoll has been sent for a pool and if the current pool is requesting work but has not sent a longpoll request, convert one of
|
14 years ago |
Con Kolivas
|
810ad04578
More copyright updates.
|
14 years ago |
Con Kolivas
|
be9db9ce63
Copyright updates.
|
14 years ago |
Con Kolivas
|
06721957a0
Freeze the queues on all threads that are sent the pause message to prevent them trying to start up again with saved pings in their queues.
|
14 years ago |
Con Kolivas
|
3d3a3a2f3a
Fix unused warnings on win32.
|
14 years ago |
Luke Dashjr
|
9631c0b02a
Fix initialization warning with jansson 1.3
|
14 years ago |
Con Kolivas
|
56907db2d6
Fix harmless warnings with -Wsign-compare to allow cgminer to build with -W.
|
14 years ago |
Con Kolivas
|
111238489f
Fix missing field initialisers warnings.
|
14 years ago |
Con Kolivas
|
07c2ee5317
Put win32 equivalents of nanosleep and sleep into compat.h fixing sleep() for adl.c.
|
14 years ago |
zefir
|
e0fec35751
modularized logging, support for priority based logging
|
14 years ago |
Con Kolivas
|
405a2120f8
Remove unnecessary check for opt_debug on every invocation of applog at LOG_DEBUG and place the check in applog().
|
14 years ago |
Con Kolivas
|
b706da9374
Merge branch 'reject_reason' of https://github.com/luke-jr/cgminer into reject
|
14 years ago |