added priority in buf_threaded.c
added priority in buf_threaded.c