add read_write example for driver,need to add lock code