Răsfoiți Sursa

Remove priorities from interfaces.

(Logical change 1.121)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@428 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 ani în urmă
părinte
comite
77d226f1f3
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 1 1
      test/evsbench.c
  2. 2 2
      test/testevs.c

+ 1 - 1
test/evsbench.c

@@ -118,7 +118,7 @@ void evs_benchmark (evs_handle_t handle,
 	do {
 		sprintf (buffer, "This is message %d\n", write_count);
 try_again:
-		result = evs_mcast_joined (&handle, EVS_TYPE_AGREED, EVS_PRIO_LOW, &iov, 1);
+		result = evs_mcast_joined (&handle, EVS_TYPE_AGREED, &iov, 1);
 		if (result == EVS_ERR_TRY_AGAIN) {
 			goto try_again;
 		} else {

+ 2 - 2
test/testevs.c

@@ -122,7 +122,7 @@ int main (void)
 			i, i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i,  i);
 #endif
 try_again_one:
-		result = evs_mcast_joined (&handle, EVS_TYPE_AGREED, EVS_PRIO_LOW,
+		result = evs_mcast_joined (&handle, EVS_TYPE_AGREED,
 			&iov, 1);
 		if (result == EVS_ERR_TRY_AGAIN) {
 			goto try_again_one;
@@ -140,7 +140,7 @@ try_again_one:
 	for (i = 0; i < 500; i++) {
 		sprintf (buffer, "evs_mcast_groups: This is message %d", i);
 try_again_two:
-		result = evs_mcast_groups (&handle, EVS_TYPE_AGREED, EVS_PRIO_LOW,
+		result = evs_mcast_groups (&handle, EVS_TYPE_AGREED,
 			 &groups[1], 1, &iov, 1);
 		if (result == EVS_ERR_TRY_AGAIN) {
 			goto try_again_two;