* wouldn't need runtime type information and all that jazz. But then we
* decided to add constants, and all of a sudden that means runtime type
* validation and inference, except the "runtime" is the code generator
- * runtime. Shit. I've been had.
+ * runtime.
*/
void validate_const_rec(std::string name, t_type* type, t_const_value* value) {
if (type->is_void()) {
* and other common platform-dependent concurrency operations.
* It should not be included in API headers for other concurrency library
* headers, since it will, by definition, pull in all sorts of horrid
- * platform dependent crap. Rather it should be inluded directly in
+ * platform dependent stuff. Rather it should be inluded directly in
* concurrency library implementation source.
*
* @version $Id:$
/**
* Class to encapsulate all the possible types of protocol errors that may
* occur in various protocol systems. This provides a sort of generic
- * wrapper around the shitty UNIX E_ error codes that lets a common code
+ * wrapper around the vague UNIX E_ error codes that lets a common code
* base of error handling to be used for various types of protocols, i.e.
* pipes etc.
*
return;
default:
- GlobalOutput.printf("Shit Got Ill. Socket State %d", socketState_);
+ GlobalOutput.printf("Unexpected Socket State %d", socketState_);
assert(0);
}
}
return;
default:
- GlobalOutput.printf("Totally Fucked. Application State %d", appState_);
+ GlobalOutput.printf("Unexpected Application State %d", appState_);
assert(0);
}
}
* connections on fd and assign TConnection objects to handle those requests.
*/
void TNonblockingServer::handleEvent(int fd, short which) {
- // Make sure that libevent didn't fuck up the socket handles
+ // Make sure that libevent didn't mess up the socket handles
assert(fd == serverSocket_);
// Server socket accepted a new connection
/**
* Class to encapsulate all the possible types of transport errors that may
* occur in various transport systems. This provides a sort of generic
- * wrapper around the shitty UNIX E_ error codes that lets a common code
+ * wrapper around the vague UNIX E_ error codes that lets a common code
* base of error handling to be used for various types of transports, i.e.
* pipes etc.
*
}
}
- // Holy shit we failed them all. The system is totally ill!
+ // Oh no; we failed them all. The system is totally ill!
$error = 'TSocketPool: All hosts in pool are down. ';
$hosts = array();
foreach ($this->servers_ as $server) {