rem: int msg_code;
add: int32 msg_code;
context: int port_test_thread_func(void* arg){	int msg_code;	int n;	char buf[6];	buf[5] = '\0';	dprintf("porttest: port_test_thread_func()\n");		n = read_port(test_p1, &msg_code, &buf, 3);	dprintf("read_port #1 code %d len %d buf %s\n", msg_code, n, buf);	n = read_port(test_p1, &msg_code, &buf, 4);	dprintf("read_port #1 code %d len %d buf %s\n", msg_code, n, buf);	buf[4] = 'X';	n = read_port(test_p1, &msg_code, &buf, 5);	dprintf("read_port #1 code %d len %d buf %s\n", msg_code, n, buf);	dprintf("porttest: testing delete p1 from other thread\n");	delete_port(test_p1);	dprintf("porttest: end port_test_thread_func()\n");		return 0;}