Con Kolivas
2257b5023a
Simplify longpoll changeover to just check which pool it should grab its next longpoll from. This should prevent locking hangs and thread cancellation
...
crashes.
2011-12-27 11:40:53 +11:00
Con Kolivas
5e2e2f282d
Only use GPU management menu item if GPU threads exist.
2011-12-27 10:35:53 +11:00
Con Kolivas
a51514d9d1
White space cleanup.
2011-12-27 10:30:04 +11:00
Con Kolivas
eee665895d
Save config options for GPUs only if there are GPU devices.
2011-12-27 10:24:09 +11:00
Con Kolivas
291f1749d0
Ensure the correct pool information goes with the longpoll work item.
2011-12-27 09:38:57 +11:00
Con Kolivas
ae78620292
Show which pool is unresponsive on startup.
2011-12-27 09:31:21 +11:00
Con Kolivas
c786ac3b2a
Prevent crash from statline dereference if cgminer is quit before setting up fully.
2011-12-26 12:54:38 +11:00
Con Kolivas
b69aa23470
Use control_lock to protect thr->pth for thread creation/destruction.
2011-12-26 10:50:00 +11:00
Con Kolivas
59293a37d6
Only pthread_join when pthread_cancel does not return an error.
2011-12-26 09:29:16 +11:00
Con Kolivas
13c40f753b
Zero all pthread_t identities upon cancelling threads.
2011-12-25 00:06:25 +11:00
Con Kolivas
acf88e0da4
Kill off the longpoll thread in kill_work only if have_longpoll is true.
2011-12-24 23:36:41 +11:00
Con Kolivas
8c066c4257
If have_longpoll is enabled, then make it mandatory the longpoll thread is killed from the outside, avoiding the race of trying to kill off a longpoll
...
thread that has potentially exited already.
2011-12-24 23:27:43 +11:00
Con Kolivas
19d5a19761
Merge pull request #62 from kanoi/master
...
Cleanup API thread if it exits early
2011-12-23 15:50:00 -08:00
Kano
d80e0ef4ce
Cleanup API thread if it exits early
2011-12-24 10:45:45 +11:00
Con Kolivas
9d36ee9b40
Do not add blank lines when there are less cpu threads enabled than processors.
2011-12-24 09:33:30 +11:00
Con Kolivas
78c89dc7ba
Move longpoll with changes to current active pool, selecting most suitable source for longpoll, or using any backup pool that has longpoll.
...
Actively stop longpoll if we already have longpoll running and have initiated a longpoll restart.
Make the longpoll activation notification warning level to make the switch visible.
Change lp_url to alloca to not lose malloced ram.
2011-12-24 09:22:55 +11:00
Con Kolivas
e75c8ec8de
Fix for non-adl configuration files.
2011-12-24 08:50:07 +11:00
Con Kolivas
400cb21d8b
Off by one error in performance level.
2011-12-24 08:06:53 +11:00
Con Kolivas
f4d657ee7f
Only adjust gpu engine speed in autotune mode if the gpu is currently at the performance level of that being adjusted.
2011-12-24 07:35:42 +11:00
Con Kolivas
90fa5fcdf0
Bump to version 2.0.9 while still in development.
2011-12-20 23:45:15 +11:00
Con Kolivas
25cd835a27
Change API message to debug only.
2011-12-20 23:36:31 +11:00
Kano
7abe8c3baf
Set my name :P
2011-12-20 23:13:23 +11:00
Con Kolivas
4813b7dd1e
Merge branch 'master' of https://github.com/kanoi/cgminer into api
2011-12-20 23:12:08 +11:00
Con Kolivas
924425d45b
Remove defunct inet files.
2011-12-20 23:04:54 +11:00
Kano
f32a07250f
DOC related updates
2011-12-20 16:22:18 +11:00
Kano
aacf1e55d9
JSON reply to JSON request
2011-12-20 12:05:40 +11:00
Kano
da798519b0
Web page - minor color/formatting
2011-12-13 09:32:43 +11:00
Kano
a039ec09b4
api version change
2011-12-08 23:35:57 +11:00
Kano
7ec90dd715
Spelling ...
2011-12-07 22:04:22 +11:00
Kano
f16c6d7e28
Add a simple full web interface in PHP to use the API
2011-12-07 21:34:03 +11:00
Kano
152708fee7
Cleanup/remove included inet functions)
2011-12-04 23:42:56 +11:00
Kano
50a0892254
2.0.8x Full GPU stats, descriptive field names and --api-description
2011-12-04 00:24:26 +11:00
Kano
c33553d5a6
C sample api code
2011-12-03 00:29:33 +11:00
Kano
2a3c99f6a8
Add API.java + API.class to access the API
2011-11-30 15:37:40 +11:00
Kano
45068ced82
Version 2.0.8w (windows changes)
2011-11-29 11:07:27 +11:00
Kano
293582d27c
Plural commands
2011-11-24 21:05:19 +11:00
Kano
45ebf2c5b4
Fix threading issues and bugs
2011-11-24 20:41:31 +11:00
Kano
d234b857ff
API v0.2 Added GPU commands and improved messages
2011-11-24 12:59:30 +11:00
Kano
df3fad3dbc
Add API options for port and listen mode
2011-11-23 22:22:10 +11:00
Kano
49532277df
Add summary command
2011-11-23 17:01:45 +11:00
Kano
bbe1702d66
Add quit command
2011-11-23 16:25:13 +11:00
Kano
89c221ad8a
Fix missing close() for invalid commands
2011-11-23 15:57:47 +11:00
Kano
2358056606
API v0.1
2011-11-23 14:35:49 +11:00
Kano
9671f0a22b
API v0.1
2011-11-23 14:35:04 +11:00
Con Kolivas
4c68ad0183
Fix for Intel Macs.
2011-11-13 08:23:42 +11:00
Con Kolivas
1419719ce5
Update NEWS.
2011-11-11 22:23:23 +11:00
Con Kolivas
d5231ea57f
Fix build error with -ldl being passed to LDFLAGS instead of LDADD and update configure output.
2011-11-11 22:21:30 +11:00
Con Kolivas
35a8b9f3c5
Bump version number to 2.0.8
2011-11-11 19:42:21 +11:00
Con Kolivas
79159c3bcc
Update NEWS.
2011-11-11 19:42:03 +11:00
Con Kolivas
0638155c37
Don't load the default config if a config file is specified on the command line.
2011-11-11 19:39:36 +11:00