aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-11 15:31:49 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-02-11 15:31:49 -0800
commit2cdacb8d2e128bf05c7d0157b7c386b69f1b9930 (patch)
tree4fee44aabf8d49804951c3e83deaa43bfe7fa1b8 /src
parent6943fb3aed8bf23681f7cb0277667c33098a3b07 (diff)
added log messages for cpu_windows.c
Diffstat (limited to 'src')
-rw-r--r--src/core/support/cpu_windows.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/support/cpu_windows.c b/src/core/support/cpu_windows.c
index 092606336e..c533f9d554 100644
--- a/src/core/support/cpu_windows.c
+++ b/src/core/support/cpu_windows.c
@@ -40,13 +40,15 @@
#include <grpc/support/log.h>
unsigned gpr_cpu_num_cores(void) {
- /* TODO: implement */
+ /* TODO(jtattermusch): implement */
+ gpr_log(GPR_ERROR, "Cannot determine number of CPUs: assuming 1");
return 1;
}
unsigned gpr_cpu_current_cpu(void) {
- /* TODO: implement */
- return 1;
+ /* TODO(jtattermusch): implement */
+ gpr_log(GPR_ERROR, "Cannot determine current CPU");
+ return 0;
}
#endif /* GPR_WIN32 */