You need to set a flag to let the code know whether you are reading the title element within the entry.
需要设置一个标志让代码知道读取的是不是条目内的title元素。
The other solution is that you can set a flag field somewhere else in the database to notify that data has been updated safely.
另一个解决方法是,你可以在数据库中设置一个标志字段别处去通知数据已更新安全。
You code might set a flag or an internal synchronization object (such as event) so that main thread code would eventually notice it and proceed with raising an external event from there.
你的代码可能设置一个标志或内部同步对象(如事件)使主线程的代码最终会注意到它,并继续从那里筹集外部事件。
应用推荐